Skip to content

refactor: where input on Relation #30

@coratgerl

Description

@coratgerl

Currently, the WhereInput on the relation is as follows:

{ where: { users : { sessions : { accessToken : {equalTo: "accessToken"} } } } }

We should change the interface to support some other fields like isEmpty.

Proposed structure:

{ where: { users : { sessions : { have : { accessToken : {equalTo: "accessToken"} } } } } }

This issue requires some refactoring with complex code in GraphQL and should be well tested.

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