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
oh found this on the action docs
reject [:id]
You can also make the id not writable, or use an explicit accept as well
accept [:stuff, :you, :want]