Skip to content

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

Description

@kbarbounakis

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions