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

Fix DataField.property validation while casting an object for update or insert #137

Open
kbarbounakis opened this issue Jan 26, 2024 · 0 comments · Fixed by #138
Open

Fix DataField.property validation while casting an object for update or insert #137

kbarbounakis opened this issue Jan 26, 2024 · 0 comments · Fixed by #138

Comments

@kbarbounakis
Copy link
Contributor

Describe the bug
DataModel.cast() method enumerates attributes collection and checks if a data field has an alias described by property attribute. This validation should be simplified like x.property ? x.property : x.name.

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

Successfully merging a pull request may close this issue.

1 participant