Jordan Eldredge
Jordan Eldredge
Sounds good, and thanks for all your feedback, it has greatly improved the post.
This feature has made me realize I want Grats to be more about trying to derive GraphQL matching the semantics of idiomatic TypeScript code where possible. So, our goal here...
We should also support the equivalent generics on static methods.
Interesting. It does sound like a thing that would be nice to be able to do. Am I following correctly that the goal here is to get the iterable itself...
> The issue here isn't about what graphql-js is capable of, but the typing of the iterator. I think grats just needs to parse this properly: My hope was that...
Yeah, I expect this to be up to the implementor (graphql-js in our case). So maybe this is a feature request (or at least a documentation request) for graphql-js? Specifically,...
I don't think there's any way for Relay to support this without either maintaining an internal index of cache records by id, or doing a full scan of all records...
Shipped in a separate commit and released in v2.1.1
Did not ship `onCurrentTrackDidChange` since I think `onTrackDidChange` should suffice
Thanks for looking into this. Can you please also update the non-versioned version of this document? https://github.com/facebook/relay/blob/beb0e920a9fc0bea086c2f1eaf3fff5e198a2381/website/docs/tutorial/fragments-1.md?plain=1#L17