Open karatakis opened 1 month ago
I spotted the bug while working on https://github.com/tailcallhq/tailcall/issues/2483. I will close the issue when I make a PR for the other issue.
Action required: Issue inactive for 30 days. Status update or closure in 7 days.
Issue closed after 7 days of inactivity.
Prerequisites
Describe the bug
When I specify an
InputField
and call the query with an extra input parameter Tailcall does not filter out the extra parameter and passes it over to the remote server.Steps to reproduce
type Query { foo(input: Bar): [Foo]! @http(method: POST, path: "/foo", body: "{{.args.input}}") }
input Bar { buzz: String! @modify(name: "fizz") }
type Foo { id: Int! alpha: String! beta: String! }
{"fizz":"test","kazz":"tost"}