florian
10/24/2017, 9:09 AMflorian
10/24/2017, 9:11 AM--force
option but to no avail)examp1e
10/24/2017, 9:18 AMMe {
whitelabelEnabled: true/false
}
Whitelabel {
option1: '1',
options2: '2'
}
I want to request Whitelabel object only if whitelabelEnabled
is true.
One solution is:
Me {
whitelabelEnabled: true,
whitelabel {
option1,
option2
}
}
and in resolver
Me {
whitelabel(root) {
if (root.whitelabelEnabled) return new Promise()
}
}
Any other options?examp1e
10/24/2017, 9:19 AMwhitelabel
in Me
as a property in schemaexamp1e
10/24/2017, 9:24 AMmikedklein
10/24/2017, 9:43 AMtaikn
10/24/2017, 10:14 AMtimwis
10/24/2017, 10:19 AM{"error":"Function returned invalid status code: 0. Raw body: empty.last"}
doesn’t seem to attribute it to a sourceGabriel Poama-Neagra
10/24/2017, 10:58 AMThe relation field XXX has the wrong format: [XXX!] Possible Formats: XXX, XXX!, [XXX!]!
. Fixed those ( added required since it allows for empty array ), but now I'm getting the non descriptive `The schema is invalid: Invalid field type definition detected. Valid field type formats: Int, Int!, [Int!], [Int!]! for example.`; Did something major change ? Where is the best place to keep track of these ?Discere
10/24/2017, 11:24 AMNico-L
10/24/2017, 1:11 PMlewisblackwood
10/24/2017, 1:19 PMsubscribeToMore
(http://dev.apollodata.com/react/subscriptions.html#subscribe-to-more).
If I repeatedly flip the boolean field in Graphcool's console and inspect the subscriptionData
when the subscription is triggered, I might see that boolean field on the record go true
-> false
-> false
-> false
-> true
. On the third occasion, the updated node is not reflecting the new data. In fact, the node is identical to the previous data (and if that were true, the subscription shouldn't have been triggered at all).
Any idea why this happens or how to resolve it?Electronjoe
10/24/2017, 1:22 PMlefevre
10/24/2017, 1:50 PMDubakov
10/24/2017, 1:59 PMmikedklein
10/24/2017, 2:28 PMDiscere
10/24/2017, 2:45 PMpeterp
10/24/2017, 3:42 PMrcy
10/24/2017, 3:45 PMoutdated
directory here https://github.com/graphcool/templates/tree/master/outdated ? I want to migrate my console project to a service but I'm currently block because I'm using the auth0 integrationzebapy
10/24/2017, 4:54 PMMyType
, MyType!
, or [MyType!]!
whereas [MyType!]
was allowed before. Does this now mean there must always be objects within this because of the array being required?babak
10/24/2017, 5:05 PMwenzel
10/24/2017, 5:16 PMwenzel
10/24/2017, 5:17 PMgraphcool
command line tool here, but i cannot authenticatewenzel
10/24/2017, 5:18 PMJosh
10/24/2017, 5:21 PMJosh
10/24/2017, 5:27 PMJosh
10/24/2017, 5:32 PMpatstrz
10/24/2017, 6:23 PMrein
10/24/2017, 6:39 PMDigital_eye
10/24/2017, 7:05 PM