[ANN] Flexto 0.1.0 - configuration driven ecto schemas

github
hex
hexdocs

The README (default page in the docs) has a good example of usage. You have to force recompile deps using it after you change the config, so it’s a bit janky, but it works!

Some people may consider this a terrible idea. I’d likely agree, but we needed it :slight_smile:

Just curious, what did you need it for?

We are building a bit of a library ecosystem and we want to be able to ship models in libraries without locking the user into our choices as much as that implies.

The primary reason we wrote it was to be able to add has_one relationships to something you’ve pulled in from a library, but once you’ve done one, you may as well do them all :slight_smile: