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
I was able to narrow down the logic to this file packages/core/src/tsCodegen/genInterface.ts, but not sure how to make it return the extra square bracket.
field.array = true retains the information that this is an array but it's not used when generating the resource type.
The text was updated successfully, but these errors were encountered:
I noticed an issue when moquerie generates TS types from gql Schemas. e.g here:
Arrays types are not handled properly.
Input
Current Ouput
Expected Output
Additional info
I was able to narrow down the logic to this file
packages/core/src/tsCodegen/genInterface.ts
, but not sure how to make it return the extra square bracket.field.array = true
retains the information that this is an array but it's not used when generating the resource type.The text was updated successfully, but these errors were encountered: