rescript-relay
rescript-relay copied to clipboard
Use Relay with ReScript.
Might be too high cost to change this in the fork, since we'd need to change Relay's built in typegen, but I'd _really_ like to have `__typename` be actual string...
In short: having to call a function just named `use` doesn't strictly respect React [rules of hooks](https://reactjs.org/docs/hooks-rules.html). The eslint plugin is yelling since it's testing using `/^use[A-Z0-9].*$/`. I don't expect...
As it is now, the generated types are unique to each generated module, even when they correspond to the same type from the schema. To illustrate, consider this (very contrived!)...
Currently nullable variables in mutations and queries become optional on the rescript-relay side. Suppose there's mutation that looks something like ``` input MyMytationInput { id: ID! a: Int b: Int...
This issue is intended to track things we (desperately) need to add to the docs. Please feel free to comment on this issue, and I'll add to the list. ##...
Infinite scroll-lists with usePagination are well explained but it does not allow for a way to show only a single page of results at a time which can sometimes be...
Inspiration from https://graphql-ppx.com/docs/fragment#variables-within-fragments https://rescript-relay-documentation.vercel.app/docs/refetching-and-loading-more-data#making-a-fragment-refetchable explains `@argumentDefinitions` but how to actually apply arguments is not explained in the docs.
Still an experimental feature, but is fully usable as of now.
"Provided variables" is a way of adding regular JS values as variable values in fragments. These values are resolved via JS files you specify, instead of needing to be added...
Hello there! Are there any reasons for generating `getConnectionNodes` helper for refetchable fragments only? From my point of view, it would be nice to have it for both queries and...