Skip to content

add parentheses to module metadata function calls - #9

Open
tfiedlerdejanze wants to merge 2 commits into
stavro:masterfrom
tfiedlerdejanze:add-parens-to-metadata-function-call
Open

add parentheses to module metadata function calls#9
tfiedlerdejanze wants to merge 2 commits into
stavro:masterfrom
tfiedlerdejanze:add-parens-to-metadata-function-call

Conversation

@tfiedlerdejanze

Copy link
Copy Markdown

The elixir 1.17.3 compiler prints a warning for these:

warning: using map.field notation (without parentheses) to invoke function MySerializer.__attributes() is deprecated, you must add parentheses instead: remote.function()
  (remodel 0.0.4) lib/remodel/formatters/map_formatter.ex:14: Remodel.Formatter.MapFormatter.format_resource/3
  (remodel 0.0.4) lib/remodel/formatters/map_formatter.ex:3: Remodel.Formatter.MapFormatter.format/3

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.

1 participant