willSendResponse (requestContext) {
				logger.debug('Response data:');
				logger.debug(requestContext.response.data);

				if (requestContext.response.errors) {
					logger.debug(`Response errors (number of errors: ${requestContext.response.errors.length}):`);
					requestContext.response.errors.forEach(err => logger.debug(err.message));
				}
			}
// Fires whenever Apollo Server is about to send a response for a GraphQL operation
Fires whenever Apollo Server is about to send a response for a GraphQL operation
Fires whenever Apollo Server is about to send a response for a GraphQL operation
willSendResponse (requestContext) {
				logger.debug('Response data:');
				logger.debug(requestContext.response.data);
				if (requestContext.response.errors) {
					logger.debug(`Response errors (number of errors: ${requestContext.response.errors.length}):`);
					requestContext.response.errors.forEach(err => logger.debug(err.message));
				}
			}
willSendResponse ( requestContext ) { logger . debug ( 'Response data:' ) ; logger . debug ( requestContext . response . data ) ; if ( requestContext . response . errors ) { logger . debug ( ` ${ requestContext . response . errors . length } ` ) ; requestContext . response . errors . forEach ( err => logger . debug ( err . message ) ) ; } }
Fires whenever Apollo Server is about to send a response for a GraphQL operation
Fires whenever Apollo Server is about to send a response for a GraphQL operation