Skip to content

Default include relationship #30

@wychoong

Description

@wychoong

How to default a relationship without requesting?

this package doesn’t seem to return default relationship even after setup like spatie’s doc https://spatie.be/docs/laravel-query-builder/v5/features/including-relationships#content-default-includes

An endpoint MAY return resources related to the primary data by default.
https://jsonapi.org/format/#fetching-includes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions