Skip to content

Detect N+1 Query #144

@austinh

Description

@austinh

I am using https://github.com/flyerhzm/bullet to detect N+1 queries and anytime I use the JsonAPI Compliable resources with sideloading, it is "detecting" an N+1 query.

I believe this is because jsonapi_compliable eagerloads sideloaded assocations without using the .includes() method that bullet is trying to detect

Is there a way for this library to play nicely with bullet or other n+1 detectors - it's making our devs think we have N+1 queries when we dont.

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