Skip to content

Commit 9ab9a1d

Browse files
authored
Fix collection example and add collection getter from cosmetic type
1 parent 80c3245 commit 9ab9a1d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

schema.graphqls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ type Collections {
147147
cosmetics(
148148
category: CosmeticCategory = null,
149149
collection: String = null
150-
@spectaql(options: { key: "example", value: "oceanic" })
150+
@spectaql(options: { key: "example", value: "Oceanic" })
151151
): [CosmeticOwnershipState!]!
152152
}
153153

@@ -416,6 +416,9 @@ type Cosmetic {
416416
"The category the cosmetic is in."
417417
category: CosmeticCategory!
418418

419+
"The collection this cosmetic is in."
420+
collection: String!
421+
419422
"The rarity of the cosmetic."
420423
rarity: Rarity!
421424

0 commit comments

Comments
 (0)