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

Remove validator that prevents arrays of structures #25

Open
mrjerryjohns opened this issue Nov 16, 2019 · 0 comments
Open

Remove validator that prevents arrays of structures #25

mrjerryjohns opened this issue Nov 16, 2019 · 0 comments
Assignees

Comments

@mrjerryjohns
Copy link
Collaborator

There is a validator that prevents trait authors from adding top-level arrays of type structure due to a legacy restriction that prevented mutations to top-level arrays of structures. It's not clear why special-casing mutations to arrays of complex value types is any different from arrays of simple types.

Trait developers currently work around this by wrapping it in a struct, which is just a work-around that doesn't really solve the purported issue, but this in turn causes the schema to look just a little more odd, and the data to be encoded slightly less efficiently.

Let's remove this.

@mrjerryjohns mrjerryjohns self-assigned this Nov 16, 2019
mrjerryjohns added a commit to mrjerryjohns/openweave-wdlc that referenced this issue Nov 16, 2019
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

1 participant