Is it possible to dynamically add attributes to a Virtus model?
I'm building a form builder, and when I load the Virtus model, I want to pass a collection of attributes to a method I define. I want that method to add those attributes so they behave as if they were defined by the attribute method in Virtus itself.
Is it possible to dynamically add attributes to a Virtus model?
I'm building a form builder, and when I load the Virtus model, I want to pass a collection of attributes to a method I define. I want that method to add those attributes so they behave as if they were defined by the attribute method in Virtus itself.