Skip to content

Examples do not reflect real-world use (data fetching is async) #1784

@JakobJingleheimer

Description

@JakobJingleheimer

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions