Skip to content

Raise a warning/error when no included content could be found #4

Description

@Startouf

Suppose I forget to add an included section in my payload (or that the included section was mistakingly put under the key data), while the main relationships sections contains sideposting directives (method: :create or method: :update), the code will still execute normally and pass empty params for nested resources.

I'm not sure passing a relationship section with create/update and without any included payload makes any sense (only for disassociation/destroy) so throwing an error could be nice.

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