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

related with virtus: "attributes" is not allowed as an attribute name #17

Open
swistaczek opened this issue Aug 16, 2016 · 1 comment
Open

Comments

@swistaczek
Copy link

swistaczek commented Aug 16, 2016

Some AVRO data model managed by other team is using field named attributes which collided with virtus restricted attributes name.

ArgumentError: "attributes" is not allowed as an attribute name
        from /Users/ernest.bursa/.rvm/gems/ruby-2.3.1@icet-self-service/gems/virtus-1.0.5/lib/virt
@tjwp
Copy link
Collaborator

tjwp commented Aug 24, 2016

Some prototyping on a solution for this was done here: #19

It's likely that in a final form the configuration for this will change. Ideally, the renaming or mapping would be driven off fields names within named record types and configured globally, so that configuration does not have to be repeated, and with the possibility of overrides for a specific model.

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