Skip to content

Aliased Resolver/Mutation should be registered even when not on auto mapping #249

@renatomefi

Description

@renatomefi
Q A
Bug report? no
Feature request? yes
BC Break report? yes
RFC? no
Version/Branch 0.10.0

Currently the only way to use the AliasedInterface is if you use the auto mapping feature, I suggest to split this in two moments:

  • One pass takes care of the auto mapping and set the tags automatically
    • This one can be specially turned off when using SF 3.3+ by doing:
    App\Resolvers\:
        resource: '../src/Resolvers'
        tags: ['overblog_graphql.resolver']
  • The second pass will then find all services with the resolver or mutation tags and then check for the AliasedInterface thus changing its definition to support it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions