8000 Add a way to access parent or global data while validating nested resource or associated model · Issue #17705 · cakephp/cakephp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add a way to access parent or global data while validating nested resource or associated model #17705
Open
@doshu

Description

@doshu

Description

If a nested resource or an associated entity has a validation logic that depends on the parent data or a value of the parent models, there is no way to access that data.

For example, when add a nested validator, the context object contains only the data of the nested resource.
Is there a way to add to the context object the complete data array in the case of a modelless form or the main entity where the validation has been started in the case on a table?

CakePHP Version

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0