if !Keyword.has_key?(opts, :params) do
IO.warn("""
The `params` option should be supplied at all times. This will be required in a future major release.
To silence this warning without providing `params`, you can pass `params: nil`.
For example:
def handle_event("submit", %{"form" => params}, socket) do
case AshPhoenix.Form.submit(socket.assigns.form, params: params) do
...
end
end
""")
end
Why is the params option required now?
I’m just curious about the reason for the decision.