You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using graphql-codegen creates two duplicate "export enum OrderBy".
../** column ordering options */exportenumOrderBy{/** in ascending order, nulls last */ASC='ASC',/** in ascending order, nulls first */ASC_NULLS_FIRST='ASC_NULLS_FIRST',/** in ascending order, nulls last */ASC_NULLS_LAST='ASC_NULLS_LAST',/** in descending order, nulls first */DESC='DESC',/** in descending order, nulls first */DESC_NULLS_FIRST='DESC_NULLS_FIRST',/** in descending order, nulls last */DESC_NULLS_LAST='DESC_NULLS_LAST'}.../** column ordering options */exportenumOrderBy{/** in ascending order, nulls first */ASC='asc',/** in ascending order, nulls first */ASC_NULLS_FIRST='asc_nulls_first',/** in ascending order, nulls last */ASC_NULLS_LAST='asc_nulls_last',/** in descending order, nulls last */DESC='desc',/** in descending order, nulls first */DESC_NULLS_FIRST='desc_nulls_first',/** in descending order, nulls last */DESC_NULLS_LAST='desc_nulls_last'}.
........
So, when I run "yarn build", I get the following error.
Type error: Duplicate identifier 'ASC'.
What is the expected behaviour?
I want only one "export enum OrderBy" to be created when using graphql-codegen.
How to reproduce the issue?
Connect two databases to Hasura (im my case, Postgres and BigQuery).
Creating types from Schema using graphql-codegen.
Keywords
Duplicate order-by, graphql-codegen
The text was updated successfully, but these errors were encountered:
Version Information
Server Version:
v2.37.0
Environment
Hasura Cloud
What is the current behaviour?
Using graphql-codegen creates two duplicate "export enum OrderBy".
So, when I run "yarn build", I get the following error.
What is the expected behaviour?
I want only one "export enum OrderBy" to be created when using graphql-codegen.
How to reproduce the issue?
Keywords
Duplicate order-by, graphql-codegen
The text was updated successfully, but these errors were encountered: