How to get argument or field name in GraphQL formatError

269
December 21, 2017, at 03:52 AM

I am using Apollo GraphQL server implementation for nodejs and for errors related to mutation type violations I need to return the argument/field that the error is related to. Unfortunately in the GraphQLError type I am not seeing anything that would provide this information, so I am wondering if there is a way to represent this data in a formatError function?

READ ALSO
Limit Socket requests for each user in Express

Limit Socket requests for each user in Express

I'm using socketio and express in my nodeJS project

195
How to find bot's conversationId when testing in Azure Portal WebChat console?

How to find bot's conversationId when testing in Azure Portal WebChat console?

I have built a bot service in AzureAnd currently, I am also testing in the test webchat in Azure portal

170
Replace Promise

Replace Promise

I have a piece of code like this:

249