Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate interface and type #13

Open
Traviskn opened this issue Feb 20, 2021 · 1 comment
Open

Duplicate interface and type #13

Traviskn opened this issue Feb 20, 2021 · 1 comment

Comments

@Traviskn
Copy link

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!
@bernharduw
Copy link

Same here (tried to quickly replace typescript-resolvers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants