Skip to content

Persisted queries in relay format should be written in deterministic order #7075

Closed

Description

Product

Strawberry Shake

Is your feature request related to a problem?

When writing persisted queries in relay format, the queries are written in non-deterministic order. This leads to changes in the git repository even if the queries remain identical. To fix this, the queries should be written in a deterministic order to file.

The solution you'd like

I already have a proposal for a simple fix: DanielZuerrer@6c2fd69. I'd be happy to create a pull request if you think the change is sensible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions