Skip to content

Conversation

linbudu599
Copy link

What does it do?

Describe the technical changes you did.

  • A pair of console.time and console.timeEnd take the same label so it can record time-consuming between beginning and end.
  • Add detailed code showing how to return res: return await next(parent, args, context, info) as not everyone is familiar with GraphQL Middleware

Why is it needed?

Describe the issue you are solving.

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

@strapi-cla
Copy link

strapi-cla commented Jan 19, 2022

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Jan 19, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/strapijs/documentation/2W7qsB8XN7H9omhsXkSrPxovtwgT
✅ Preview: https://documentation-git-fork-linbudu599-patch-2-strapijs.vercel.app

@derrickmehaffy
Copy link
Member

duplicate: #633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants