so as i’ve disclosed on other topic(https://elixirforum.com/t/ectoapi-a-library-to-use-ecto-to-describe-external-api-resources/) i’m working on a library that uses ecto schemas a lot. I’ve been looking for ways to set the context
metadata for a schema on the schema definition. Looking at the code doesn’t seem to be possible. i was thinking something like @schema_context
just like the @schema_prefix
. I understand that I can use Ecto.put_meta/2
for that, but that only works after the schema is already loaded, I wanted to use that to introspect some behavior of the library.