You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i was reading the specification - i tried to create some sort of schema at paper. i just find it, and decide to move it here, for discussion. I'm 100% sure that my schema wrong, because i didn't finished my learning of graphQL yet. but maybe it will give us a topic to discuss and will help you. listing it below.
type UserGrocery {
user: User!
groceries: [Grocery]!
id: ID!
}
type Department {
name: String!
desc:String!
ingredients: [Ingredients]!
id: ID!
}
type Favorites {
user:User!
favorites: [Ingredient]!
id: ID!
}
type Ingredient {
name
description
custom: Boolean!
department: Department!
}
type User {
tokens: [Token]!
identities:[]!
credentials:[]!
groceries:[Grocery]!
favorites:[Favorite]!
id: ID!
}
when i was reading the specification - i tried to create some sort of schema at paper. i just find it, and decide to move it here, for discussion. I'm 100% sure that my schema wrong, because i didn't finished my learning of graphQL yet. but maybe it will give us a topic to discuss and will help you. listing it below.
The text was updated successfully, but these errors were encountered: