This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
[codegen] Make additionalSchemas
configuration easier
#80
Labels
Current minimal setup:
Considering that most users would have only 1 additional schema, we should:
additionalSchemas
is an array or object, so user can just pass in an object directlyRemoveMakekey
.key
optional. Create a key automatically based on schema pathfileName
optional. Use a sensible default likegraphql-types-addition
, ifadditionalSchemas
is an array, append a numberpluckConfig
optional. User only needs to pass inname
&identifier
So ideally, most users should only need to do this:
The text was updated successfully, but these errors were encountered: