Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Apollo Client adds __typename at the end of the type while apollo CLI adds at the top of the type #1229

Description

@Nikhilkoneru

Hi Team, I have noticed that when I used PersistedQueryLink, Apollo Client adds __typename at the bottom of the type whereas when I use apollo-cli:codegen adds __typename and the top of the type. Can we have the same consistency as Apollo Client because the position of __typename field changes the hash?

npx apollo client:codegen --target=json operations.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions