because we may want to control the api without expose everything out, but it’s better to provide the basic types mentioned above
r
Ryan
09/13/2021, 11:05 AM
You could try this library out and only generate for the resolvers needed.
y
YErii
09/16/2021, 7:39 AM
yeah, it’s greate to auto generate the default input types but it seems that we can not overwrite the generated types.
YErii
09/16/2021, 7:42 AM
for example paljs generates all input types (AaUpdateInput、BbUpdateInput) but we may want to customize some of it (AaUpdateInput). And it will promote that AaUpdateInput exist if we define AaUpdateInput manually.
r
Ryan
09/16/2021, 8:25 AM
You would need to create a custom input type from the Pal.js generated type if you want to customise.