Skip to content

Parent reference validation on AEP 132 contradicts resource reference type lint implementation #116

Description

@ethanoroshiba

Related to this comment: f7aa979

The implementation of the resource_reference_type lint for AEP 132 allows for the resource_reference annotation on the parent field to reference the paginated type, while the request_parent_valid_reference implementation specifies that resource_reference must refer to the parent of the paginated type. To fix this, either the allowing of resource_reference to refer to the child type should be removed, or the request_parent_valid_reference lint should be removed.

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