michalmuskala / jason

A blazing fast JSON parser and generator in pure Elixir.
Other
1.6k stars 170 forks source link

Verify fields given to @derive #122

Closed michalmuskala closed 3 years ago

michalmuskala commented 3 years ago

We should check they are actually defined for the current struct. Otherwise we might end up with confusing errors as seen in https://github.com/michalmuskala/jason/issues/120