Skip to content

Name configuration should not override aliases #395

@spyl94

Description

@spyl94
Q A
Bug report? yes
Feature request? no
BC Break report? maybe
RFC? no
Version/Branch 11

I have 2 types InternalQuery and PublicQuery that I want to use in 2 different schemas but I want to keep the name Query on each schema.

The problem is that the bundle generates an Overblog\GraphQLBundle\__DEFINITIONS__\QueryType instead of Overblog\GraphQLBundle\__DEFINITIONS__\InternalQueryType and Overblog\GraphQLBundle\__DEFINITIONS__\PublicQueryType

Here is a repo to reproduce the issue:
https://github.com/spyl94/graphql-multiple-schemas-sandbox

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