How to remove id as input option on create actions

My create actions for graphql are showing id as an option for input, is there a way to disable that? It breaks with the codegen library as it is sending id as an empty string
2 Replies
michaelst
michaelstOP2y ago
oh found this on the action docs reject [:id]
ZachDaniel
ZachDaniel2y ago
You can also make the id not writable, or use an explicit accept as well accept [:stuff, :you, :want]

Did you find this page helpful?