8000 Include related resources · Issue #23 · cloudcreativity/laravel-json-api · GitHub
[go: up one dir, main page]

Skip to content
Include related resources #23
Closed
Closed
@stfnndrsn

Description

@stfnndrsn

Our app have a fair amount of hasMany relationsships - and we are including them in our json-api responses - resulting eg. 5 queries pr. entity; and with 200 entities we have a bottleneck.

I were thinking about overwrite the EloquentAdapter#find method and do my own service-provide to register with my own class.

But is it the best way to handle it? It seems as a generic problem, and a standardized way of handling relationships.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0