-
-
-- name: allowed-queries
- definition:
- queries:
- - name: getAlbums
- query: |
- query getAlbums {
- albums {
- id
- title
- }
- }
-
- |
-
-
-- name: allowed-queries
- definition:
- queries:
+ Example:
+
+
+
+ Old behaviour metadata/query_collections.yaml |
+ New behaviour metadata/query_collections.yaml |
+
+
+
+
+
+
+ - name: allowed-queries
+ definition:
+ queries:
- name: getAlbums
query: |
query getAlbums {
@@ -90,64 +75,78 @@ Example:
title
}
}
-
- |
-
-
-
+
+ |
+
+
+ - name: allowed-queries
+ definition:
+ queries:
+ - name: getAlbums
+ query: |
+ query getAlbums {
+ albums {
+ id
+ title
+ }
+ }
+
+ |
+
+