Open rmosolgo opened 8 years ago
Is @defer
a relay specific directive? I see it is being talked about in https://github.com/facebook/graphql/issues/185 but it doesn't seemed to be defined in the spec at all. Is the talk on it available online?
I heard about it here: https://youtu.be/ViXL0YQnioU?t=12m49s
If you need a quick summary of the talk, I wrote one up here: https://medium.com/apollo-stack/new-features-in-graphql-batch-defer-stream-live-and-subscribe-7585d0c28b07#.voj1lkyus
Maybe I asked the wrong question ... are @defer
and @stream
on a "standards track" at all?
Ok, another question, might as well leave it here, is this supported:
... @defer {
field1
field2
}
If it is, do field1
& field2
come in the same patch? Or could it be the same as
field1 @defer
field2 @defer
Hey, thanks for the great talk about "experiements in GraphQL," so many good ideas there!
I'm exploring
@defer
and I have a couple clarifying questions about error handling.Let's say you have a non-null field on an object which returns null (bad). The spec says the error should "propagate," making the parent object null:
(Error Handling)
So,