Closed jMarkP closed 1 year ago
When creating a query which generates subqueries, e.g.
new Query() .RepositoryOwner("foo") .Repositories() .AllPages(100) .Select(x => x.Name)
The generated GraphQL for subqueries uses the C# type name for, e.g. the RepositoryOwner entity type:
RepositoryOwner
query($__id: ID!, $__after: String) { node(id: $__id) { __typename ... on StubIRepositoryOwner { repositories(first: 100, after: $__after) { pageInfo { hasNextPage endCursor } nodes { name } } } } }
(See the StubIRepositoryOwner isntead of the expected RepositoryOwner)
StubIRepositoryOwner
Running from HEAD
No response
Similar to #165
What happened?
When creating a query which generates subqueries, e.g.
The generated GraphQL for subqueries uses the C# type name for, e.g. the
RepositoryOwner
entity type:(See the
StubIRepositoryOwner
isntead of the expectedRepositoryOwner
)Versions
Running from HEAD
Relevant log output
No response
Code of Conduct