Closed raymclee closed 3 years ago
@raymclee our cli not delete your old files if you delete all output: "lib/api/graphql",
content and run again will generate the models you put in the pal.js file
I have tried to change the output to new folder and it still generate all model.
excludeModels also not working but "excludeFieldsByModel" works
Yes, you are right. working on a fix now
Yes, you are right. working on a fix now
many thanks!
Also, you can use pal generate User,Shop,Order,OrderItem,Table,Product
Also, you can use
pal generate User,Shop,Order,OrderItem,Table,Product
yeah, that works thanks.
is it possible to get the generated file in lowercase?
is it possible to get the generated file in lowercase?
It's hard and will make a breaking change.
you can build a small script to run after our generator to select all folder and change their names Don't forget to change imports in the index file
is it possible to get the generated file in lowercase?
It's hard and will make a breaking change.
you can build a small script to run after our generator to select all folder and change their names Don't forget to change imports in the index file
got it. thanks!
this cli issue now fixed in the last version 3.4.0
I have below pal.js, when I use pal -g. it still generate all model