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
exporttypeMaybe<T>=T|null;/** All built-in and custom scalars, mapped to their actual values */exporttypeScalars={ID: string;String: string;Boolean: boolean;Int: number;Float: number;};exporttypeQuery={__typename?: "Query";test: Array<Scalars["String"]>;};exporttypeTestQueryVariables={};exporttypeTestQuery={__typename?: "Query";test: string};
Expected behavior
exporttypeMaybe<T>=T|null;/** All built-in and custom scalars, mapped to their actual values */exporttypeScalars={ID: string;String: string;Boolean: boolean;Int: number;Float: number;};exporttypeQuery={__typename?: "Query";test: Array<Scalars["String"]>;};exporttypeTestQueryVariables={};exporttypeTestQuery={__typename?: "Query";test: Array<string>};
Environment:
( See the code sandbox )
The text was updated successfully, but these errors were encountered:
Describe the bug
preresolve types resolves string array incorrectly as
string
rather thanstring[]
To Reproduce
Steps to reproduce the behavior:
https://codesandbox.io/s/graphql-codegen-issue-template-wbzsk?fontsize=14
codegen.yml
config file:Current behavior
Expected behavior
Environment:
( See the code sandbox )
The text was updated successfully, but these errors were encountered: