Skip to content

Extended Query being reported as a different to a non-extended Query, when it is actually the same. #44

@andyce1010

Description

@andyce1010

When comparing a query where the expected type has been extended to exactly match the actual type, the comparator is currently reporting a change.

Can someone confirm if this is correct? I would have expected the two queries to show no changes.

Expected:

type Query {
}

extend type Query {
   test(id: String!): String!
}

Actual:

type Query {	
   test(id: String!): String!
}

Output:
`⏳ Checking for changes...
🎉 Done! Result:

Detected the following changes between schemas:

✅ Field test was added to object type Query
`

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