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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions