Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

document isValid check recursively related object validations #55

Copy link
Copy link

Description

@al-oath
Issue body actions

Need to add some ability to check only one level of specific object and not check recursively to other keys related object validations.

On save button we set the disabled property by ### !{document}.isValid()
the problem is that the validation check recursively and propagating to other related object keys of type other document,
and if there there is an validation error ... this isValid method return error, even if in this specific document object everything is ok.

For example,
assume you have Order object that have key = "creatdBy",
the createdBy is id of User object that have an isRequired key that not valid,
so even if in this specific Order object everything is ok, but under the related User object there is something wrong ... so the Order.isValid() return false.

Reactions are currently unavailable

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.