vt-elixir / ja_serializer

JSONAPI.org Serialization in Elixir.
Other
640 stars 148 forks source link

Allows import to be used as a relationship name #336

Closed paulanthonywilson closed 3 years ago

paulanthonywilson commented 3 years ago

If one of your entities has a relationship called "import", and you are trying to upgrade ja_serializer then compilation fails with something like

invalid argument for import, expected a compile time atom or alias, got: struct

This is a fix for that.

beerlington commented 3 years ago

Thanks!