Examples do not reflect real-world use (data fetching is async)
Author: JakobJingleheimerCreated Aug 1, 2025Updated Aug 23, 2025
LabelsCommunity :family_man_girl:Documentation :book:
Describe the issue
The docs and examples talk about data being loaded from a database (which would be an asynchronous process), but they actually show data generated synchronously, such as in simple-usage/recipe.resolver where the source data (items) is available statically. In almost any real-world scenario, createRecipeSamples would be async.
Are you able to make a PR that fix this?
Yes, once I have the knowledge.
Additional context
Love the idea of this library!
Source: MichalLytek/type-graphql