bamorim / typed_ecto_schema

A library to define Ecto schemas with typespecs without all the boilerplate code.
https://hexdocs.pm/typed_ecto_schema
Apache License 2.0
268 stars 18 forks source link

Fix compilation issue and tests when using Ecto 3.8+ #27

Closed dvic closed 2 years ago

dvic commented 2 years ago

With Ecto 3.8 the following compilation error would occur: ** (ArgumentError) invalid option :null for field/3

dvic commented 2 years ago

@bamorim this was a bug before but Ecto did not check the passed options, now since 3.8 they do and :null is an invalid option.