Skip to content

Recommended way of combining rulesΒ #733

@Sytten

Description

@Sytten

Question about GraphQL Shield

Our schema is split between multiple typeDefs files and we use a lot of type extensions. I would like to keep the permissions near that. Either inside a resolver extension (similar to #152, but using ardatan/graphql-tools#1279 and graphql/graphql-js#1527) or as a separate file beside the typeDefs.
My problem is that we need to combine that in some way after it. What is the recommended way to do that?

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