Skip to content

Include Query Error Not Working #861

Closed
@mdhthahmd

Description

@mdhthahmd

Hi, i am trying to implement many-to-many and one-to-many relationships in this library, so i followed the code samples and documentation but i am unable to get the include query working,
For example when i ran the provided example project which has the many-to-many relationship between Articles and Tags,
GET /articles works and return the correct response, while GET /articles?include=tags return 500 error.
It looks like any resource that has to many relationship does not work, with the provided example and documentation. So what is the intended way of implementing to-many relationships?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions