Skip to content

Support for glob patterns for resolver composition (like for other transforms) #2407

@ntziolis

Description

@ntziolis

As of now there are 2 ways of specifying resolver paths:

  • explicitly (Query.users)
  • or via a wildcard (Query.*)

In a situation where a composition is applied to many but not all resolvers this leads to a lot of repetetive boiler plate configuration.

Other transforms like filter do support glob patterns which would reduce configuration to a minimum.

I'm happy to make a PR, but first wanted to check with you guys if this should be done in graphql-mesh or directly in the graphql-tools. Let me know and I will get on it. @ardatan

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/5-alpha-release-testingThe pull request is merged, an alpha release is available, to be tested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions