I had assumed I couldn't use Module.get_attribute/2, because the use for
FixtureCase was before the module attribute in my example. It could be the
case that you document that all module attributes much be declared before
calling use on the case template, but that seems brittle. Also, I believe
that would break the accumulate option for the module attribute, because
the user would have already defined the attribute before using the module
that marked the attribute to accumulate. Maybe I'm misunderstanding
something.

I'll start work on this soon.

Allen Madsen
http://www.allenmadsen.com


On Wed, Jun 26, 2019 at 1:22 AM José Valim <jose.va...@plataformatec.com.br>
wrote:

> Can’t you use Module.get_attribute? In any case, I see your point: it
> would be nice to have a unified API, so we can add
> register_module_attribute as well.
> --
>
>
> *José Valim*
> www.plataformatec.com.br
> Skype: jv.ptec
> Founder and Director of R&D
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JokdQ09Saiu-AAp7x8fdSCG6P2i0NT4WRsbu1fOScmjw%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JokdQ09Saiu-AAp7x8fdSCG6P2i0NT4WRsbu1fOScmjw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAK-y3Cu37fZWsa%2BLmbd0BsJaz3PMduKsW0KgXOXZtcbtu6CRqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to