-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Describe the bug
argument not defined on connection_type when lazy load
Versions
graphql: 2.5.11
rails: 8.0.2
GraphQL schema
class Resolver::Test < Resolver::Base
type Interface::TestInterface
end
module Interface::TestInterface
field: field1, "test" do
type Type::Test.connection_type
end
end
GraphQL query
Example GraphQL query and response (if query execution is involved)
query test {
test {
field1(first: 1) { something }
}
}
"errors": [
{
"message": "Field 'replies' doesn't accept argument 'first'",
"locations": [
{
"line": 64,
"column": 7
}
],
"path": [
"query test",
"test",
"field1",
"first"
],
"extensions": {
"code": "argumentNotAccepted",
"name": "field1",
"typeName": "Field",
"argumentName": "first"
}
}
]
Metadata
Metadata
Assignees
Labels
No labels