ash-project / ash_graphql

The extension for building GraphQL APIs with Ash
https://hexdocs.pm/ash_graphql
MIT License
73 stars 49 forks source link

improvement: make mutation arguments non-null #111

Closed rbino closed 9 months ago

rbino commented 9 months ago

As discussed in #105 and #110, put this behind an opt-in configuration to avoid breaking existing code. The ID in update mutations is always non-null if non-null mutation arguments are allowed, while input is non-null if it's allowed and there is at least a non-null field in the input.

Document the newly added config variable in the getting started guide.

Contributor checklist

zachdaniel commented 9 months ago

🚀 Thank you for your contribution! 🚀