Skip to content

always including data for every relationship #127

Closed
@robinstraub

Description

@robinstraub

Hi,

I am building an API and am used to produce resources that always have the data segment of their relationships. I used to use this on my frontend using this former package version. I came across this section of the official documentation explaining how to provide it using the resource classes.

Is there a way to always provide the data, without having to write resource classes for every schema and specifying the alwaysIncludeData() on every relationship ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions