Skip to content

Commit 37c6b71

Browse files
authored
Merge pull request #185 from commerce-docs/ds_hide-categories
Hide the "categories" query
2 parents 1546499 + 670a6b1 commit 37c6b71

File tree

3 files changed

+208
-363
lines changed

3 files changed

+208
-363
lines changed

spectaql/config-storefront.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ introspection:
202202
#
203203

204204
# File that contains your metadata data in JS module export, or JSON format
205-
# metadataFile: path/to/metadata.js[on]
205+
metadataFile: spectaql/metadata-storefront.json
206206

207207
# The path to a key from which to read the documentation-related metadata at each level of your metadata file.
208208
# Defaults to 'documentation', but in case you use a different name, or have a complex/nested metadata structure, you can

spectaql/metadata-storefront.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"OBJECT": {
3+
"Query": {
4+
"fields": {
5+
"categories": {
6+
"documentation": { "undocumented": true }
7+
}
8+
}
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)