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
In my code I have created a connection as follows:
const{connectionType: JokeItemConnection}=connectionDefinitions({nodeType: newGraphQLNonNull(GraphQLJoke)});exportdefaultnewGraphQLObjectType({name: "User",description: "Represents a user of the joke API.",fields: ()=>({//... other fields have been omittedjokes: {type: newGraphQLNonNull(JokeItemConnection),description: "All the user's jokes.",args: connectionArgs,resolve: (user: User,args,{ viewer, loaders }: Context)=>connectionFromPromisedArray(user.jokes(loaders.joke),args)}})});
Next, when I look in graphiql I see that the name of the connection is undefinedConnection:
When I now change the connection definition as follows:
In my code I have created a connection as follows:
Next, when I look in graphiql I see that the name of the connection is
undefinedConnection
:When I now change the connection definition as follows:
Then the name of the connection is correct!
Is this a bug?
The text was updated successfully, but these errors were encountered: