Arno Dirlam - Infer: A pragmatic inference system based on your Ecto schema
Infer is an Elixir library that allows adding inferred properties to Ecto schemas, defined by rules based on fields, associations or other inferred properties. You can then load/query them as if they were Ecto fields or associations using Infer's API. It allows you to write declarative and easy-to-read domain logic by defining WHAT the rules are without having to care about HOW to execute them. Under the hood, Infer's evaluation engine loads associations as needed using dataloader and can even translate your logic to Ecto queries directly. Infer can be used for various use cases, from authorization to state machines, and excels in areas where many (edge) cases need to be respected. Status: Infer has been used in production internally at Team Engine since April 2021, but is still in the early stages as a ready-to-use library. Repo: https://github.com/infer-beam/infer Docs: https://infer-beam.github.io/infer/ Want to work on Infer with us? https://tinyurl.com/engine-infer-dev