Skip to content

Ordering in schema #5

@jjb

Description

@jjb

Hello - thank you for maintaining this gem!

In the graphql-batch docs: https://github.com/Shopify/graphql-batch#schema-configuration

"Use GraphQL::Batch as a plugin in your schema after specifying the mutation so that GraphQL::Batch can extend the mutation fields to clear the cache after they are resolved "

Their examples also show GraphQL::Batch coming after specifying the QueryType

In the graphql-preload docs and tests, mutations aren't shown, but batch and preload always come before specifying the querytype

does this ordering matter? is it okay if preload comes after query and mutation?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions