Closed sibelius closed 7 years ago
An entry as relay: true
would be good for this.
maybe something like:
type: 'relay' or type: 'apollo' or type: 'raw'?
There is no need for type: 'raw'
right now, since Apollo doesn't require any changes on server.
I thought that accepting a string may lead to errors if user provided it with a typo or something but I guess it would be better to work that way.
We are only working with Relay right now, I guess this can go on the template as well.
Yep
missing
interfaces: () => [NodeInterface],
I think we need a flag on .graphqlrc to enable some Relay generation code tweaks
for instance a Relay GraphQL Type could have a
globalIdField()
Changes required on Type.js.template