Graphql Schema import using type name instead of @collections

type Cart @Collection(name: "Carts") {
 cart_id: String
}

Collection name inside fauna gets named “Cart” instead of “Carts”

Hi @davidboom95,

there is a typo in your schema:

type Cart @collection(name: "Carts") {
cart_id: String
}

@collection is without capital C

Luigi

1 Like