Open jtratner opened 4 years ago
(pushed PR with example in #934 :) )
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any update on this?
DjangoFormMutation
by default filters both input and output fields based ononly_fields
andexclude_fields
. Ideally it'd allow you to filter input and output separately. (I'm going to put up a PR alongside this, but figured it was best form to have an issue too).Desired Behavior vs. Actual Behavior
Desired Behavior: Mutation that has a payload with only
clientMutationId
+ my custom output field, while still having all input fields Actual Behavior: either have to filter out all input fields (making form unusable) or end up pushing out all of the input fields into the outputted payload (which doesn't quite make sense to me)Background and Example
Imports + model definition + form definition