Skip to content

lexicographic_sort_schema is underspecified. #75

Closed
@pmantica1

Description

@pmantica1

First of all thanks for the amazing work in porting the GraphQL reference implementation.

I wanted to compute the fingerprint of a schema by running lexicographic_sort_schema and print_schema then computing the sha256 of the output.
kensho-technologies/graphql-compiler#737

However, it is unclear whether lexicographic_sort_schema modifies the input schema. So I was having trouble documenting my function. Would you mind clarifying the function's spec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions