Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible to dynamically add attributes? #366

Open
joshco opened this issue Sep 11, 2016 · 1 comment
Open

possible to dynamically add attributes? #366

joshco opened this issue Sep 11, 2016 · 1 comment

Comments

@joshco
Copy link

joshco commented Sep 11, 2016

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.

@nruth
Copy link

nruth commented Sep 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants