solnic / drops

🛠️ Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more.
Other
258 stars 7 forks source link

release 0.1.1 doesn't define `conform/2` for contract #34

Closed jvantuyl closed 10 months ago

jvantuyl commented 1 year ago

I get this warning when I compile with 0.1.1:

warning: function conform/2 required by behaviour Drops.Contract is not implemented (in module ModuleName)
  lib/module_name.ex:1: ModuleName (module)

Goes away with 0.1.0, presumably because that function is defined?

solnic commented 1 year ago

Ahh thank you for reporting this! I'll get this fixed in 0.2.0 :)