ash_phoenix/documentation/how_to/upgrade.md
Zach Daniel c526768670 improvement: remove unknown keys option from embedded attributes
docs: update upgrade docs to reflect change of skip_unknown_attributes
2024-04-17 00:18:59 +01:00

9 lines
474 B
Markdown

# Upgrading from 1.0 to 2.0
There are a few major changes in 3.0 that you should be aware of that affect AshPhoenix's behavior.
1. You don't need to pass in the `domain` to your forms.
~~2. When calling `AshPhoenix.Form.params/1`, for the same reasons as above, it will no longer return the hidden fields from the form. If you need these, you can add the `hidden?: true` option to `AshPhoenix.Form.params/1`.~~
The above items were worked around, and are no longer true