You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there I am trying to send a PR to the codebase, but there are errors on the types and test that seems to be cross concerns. I would like a guide to fix. So I can effectively send the PR.
The following error are just few of them. which I haven't change at all. here is a link for the PR: #1197
Here there are some errors when trying to execute tsc
src/generate/concatenateTypeDefs.ts:13:23 - error TS2345: Argument of type 'ITypedef' is not assignable to parameter of type 'ASTNode'.
Type 'string' is not assignable to type 'ASTNode'.
13 typeDef = print(typeDef);
~~~~~~~
src/mock.ts:149:30 - error TS2339: Property 'ofType' does not exist on type 'GraphQLType'.
Property 'ofType' does not exist on type 'GraphQLScalarType'.
149 mockType(fieldType.ofType)(root, args, context, info),
~~~~~~
src/mock.ts:150:30 - error TS2339: Property 'ofType' does not exist on type 'GraphQLType'.
Property 'ofType' does not exist on type 'GraphQLScalarType'.
150 mockType(fieldType.ofType)(root, args, context, info),
~~~~~~
src/mock.ts:154:39 - error TS2339: Property 'name' does not exist on type 'GraphQLType'.
Property 'name' does not exist on type 'GraphQLList<any>'.
154 mockFunctionMap.has(fieldType.name) &&
~~~~
The text was updated successfully, but these errors were encountered:
Hello there I am trying to send a PR to the codebase, but there are errors on the types and test that seems to be cross concerns. I would like a guide to fix. So I can effectively send the PR.
The following error are just few of them. which I haven't change at all. here is a link for the PR:
#1197
The text was updated successfully, but these errors were encountered: