Is there a reason it is not possible to use Uber::Options for definition options? If I'm not mistaken, this would allow, for instance, to do the following in Reform:
property :title, writeable: -> { model.my_condition? }
I achieved this in my app by overriding sync_options in my form and calling Uber::Option manually, but it would be cool to just have it embedded in the gem (and any other gems using Declarative).
If there's interest, I can try to submit a PR.
Is there a reason it is not possible to use
Uber::Optionsfor definition options? If I'm not mistaken, this would allow, for instance, to do the following in Reform:I achieved this in my app by overriding
sync_optionsin my form and callingUber::Optionmanually, but it would be cool to just have it embedded in the gem (and any other gems using Declarative).If there's interest, I can try to submit a PR.