Skip to content

Filter and sort parameters aren't included if the field is on an interface #8461

@rdb00

Description

@rdb00

Product

Hot Chocolate

Version

15.1.7

Link to minimal reproduction

https://github.com/rdb00/hot-chocolate-interface-bug-example

Steps to reproduce

Run the service and look at the schema. You can see that the friends field on Person has no filter/sort parameters, but on Author it does.

What is expected?

Both Person.friends and Author.friends accept arguments for where and order, not just Author.friends.

What is actually happening?

Only Author.friends accepts arguments for where and order.

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions