Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix map.field notation warning on Elixir 1.17 #174

Merged
merged 1 commit into from Mar 19, 2024
Merged

Conversation

SteffenDE
Copy link
Contributor

warning: using map.field notation (without parentheses) to invoke function MyStruct.__struct__() is deprecated, you must add parentheses instead: remote.function()
  (phoenix_ecto 4.5.1) lib/phoenix_ecto/html.ex:53: Phoenix.HTML.FormData.Ecto.Changeset.to_form/4

```
warning: using map.field notation (without parentheses) to invoke function MyStruct.__struct__() is deprecated, you must add parentheses instead: remote.function()
  (phoenix_ecto 4.5.1) lib/phoenix_ecto/html.ex:53: Phoenix.HTML.FormData.Ecto.Changeset.to_form/4
```
@josevalim josevalim merged commit 3bdb207 into main Mar 19, 2024
2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the sd-fix-warning-1_17 branch March 19, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants