alfred
02/15/2017, 9:57 AMuser
02/15/2017, 9:58 AMuser
02/15/2017, 9:58 AMuser
02/15/2017, 9:59 AMuser
02/15/2017, 10:00 AMuser
02/15/2017, 10:01 AMsunrising
02/15/2017, 4:08 PM__typename
property... is there a way to have a "clean" object with the requested properties only?nilan
02/15/2017, 4:09 PMmruzekw
02/15/2017, 4:39 PMidToken
from Auth0. Though I notice there’s a mismatch between the token and what’s in the database, e.g. idToken=a98d7f98af798d7f98afd798af897…
and auth0IdToken=facebook|0982394802398409
query ($auth0Id: String!) {
user: User(auth0UserId: $auth0Id) {
id
name
}
}
mikeroelens
02/15/2017, 6:37 PMschickling
02/15/2017, 7:44 PMmulyoved
02/15/2017, 8:02 PMconst DishUpdate = gql`mutation updateDish($id:ID!, $duration: Number) {
updateDish(id: $id, duration: $duration) {
id,
duration: duration
}
}`;
using aApollClient get error Error: GraphQL error: Variable '$duration' cannot be non input type 'Number'
1 - I understand I need to define some input type, where I can see example to define input type
2 - insted of simple scallar want to pass complex data object, any known example for that?mlukaszczyk
02/15/2017, 8:44 PMnilan
02/15/2017, 8:54 PMgollyjer
02/15/2017, 11:07 PMgollyjer
02/15/2017, 11:08 PMgollyjer
02/15/2017, 11:59 PMmikeroelens
02/16/2017, 4:49 AMnilan
02/16/2017, 10:06 AMnilan
02/16/2017, 10:46 AMalex_ye
02/16/2017, 12:32 PMuser
02/16/2017, 12:42 PMuser
02/16/2017, 12:45 PMuser
02/16/2017, 12:47 PMuser
02/16/2017, 12:50 PMSlide
a model in your project?user
02/16/2017, 12:50 PMuser
02/16/2017, 12:50 PMuser
02/16/2017, 12:51 PMuser
02/16/2017, 12:51 PMuser
02/16/2017, 12:52 PM