parroty / extwitter

Twitter client library for elixir.
MIT License
409 stars 129 forks source link

Fix derive missing field issue #150

Closed IvanIvanoff closed 2 years ago

IvanIvanoff commented 2 years ago
  1. Run formatter
  2. Since Elixir 1.14 if the :except list of @derive contains missing fields it raises a compile-time error. ExTwitter.Model.DirectMessage does not have a :raw_data field, so it should not be present in the :except field
clone1018 commented 2 years ago

Running into this issue as well, looking forward to this fix being merged!

parroty commented 2 years ago

Thanks for the follow-up 🙇 .