Make sure you've completed Getting Started first.
../gqlessrefers to the generated directory.
GQless is a framework-agnostic GraphQL client, and can be used anywhere (we might add more bindings for other Frontend frameworks in the future).
Accepts a callback, which will be recursively executed, until the data has been fetched (or an error occurs). The final result of the callback is returned as a promise.
You can specify options in the second argument, like forcing a refetch or isolating from existing cache, see ResolveOptions.
inlineResolved is the exact same as resolved, but it returns the data straight away if it can.
A special function that accepts object proxies, or functions.
When dealing with object proxies, it recovers all the history of the specific object down the tree of selections, and refetchs them, returning the same object back after all the resolutions are done.
On the other hand, when used with a function, it calls the function (using the core scheduler) ignoring possible nulls in the middle in the first pass, and returns whatever the function gave back as a promise.
GQless exposes the Scheduler API, which is used by the helper functions above.
The scheduler resolves to a promise of a