Skip to content

Duplicate interface and type #13

Open
@Traviskn

Description

I'm running into Duplicate identifier errors because types and interfaces are being generated with the same names.

Specifically in my case, these types are generated

export type QueryEditConnectionArgs = {
  languageCode?: Maybe<Scalars['String']>;
  allLanguages?: Maybe<Scalars['Boolean']>;
  allEdits?: Maybe<Scalars['Boolean']>;
  first?: Maybe<Scalars['Int']>;
  after?: Maybe<Scalars['String']>;
};

export interface QueryEditConnectionArgs {
  languageCode?: string | null | undefined;
  allLanguages?: boolean | null | undefined;
  allEdits?: boolean | null | undefined;
  first?: number | null | undefined;
  after?: string | null | undefined;
}

from this schema definiton:

  editConnection(languageCode: String, allLanguages: Boolean, allEdits: Boolean, first: Int, after: String): EditConnection!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions