Currently the only possible way to use context metadata is adding it to the schema with Ecto.put_meta/2. To be able to set a context on schema definition just as its possible to set a prefix with @schema_prefix would make context way more useful, exposing the set context with __schema__/1 would be nice too. Is there anything against doing that?
--
You received this message because you are subscribed to the Google Groups "elixir-ecto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-ecto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-ecto/c90c050c-4cb0-47bf-9cc0-226f466d062fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-ecto/bde8a824-2eb3-43cd-aaa1-ca8fd26dbc0en%40googlegroups.com.