8000 [Feature Request] Access to data in Validation rules method · Issue #497 · cloudcreativity/laravel-json-api · GitHub
[go: up one dir, main page]

Skip to content
[Feature Request] Access to data in Validation rules method #497
Closed
@lucianholt97

Description

@lucianholt97

As part of our validation, we use custom rules that take other resource attributes as an argument.
By digging into the Validator code, I didn't find any possibility to access the document data which is being validated.
I would love to see this added in the future since I think this is a common use-case.

Thanks in advance!

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

      0