From 99e06f43ea5f4c6b7da9efd7116ef4586adf6cf1 Mon Sep 17 00:00:00 2001 From: doug-martin Date: Thu, 23 Jul 2020 18:15:23 -0500 Subject: [PATCH] docs(hooks): Clarify note about context --- documentation/docs/graphql/hooks.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/docs/graphql/hooks.mdx b/documentation/docs/graphql/hooks.mdx index 03f0bb855..d7b7504e0 100644 --- a/documentation/docs/graphql/hooks.mdx +++ b/documentation/docs/graphql/hooks.mdx @@ -29,8 +29,9 @@ If you provide a custom `create` or `update` DTO you can also decorate those cla ::: :::note -All of the examples reference a GqlContext. This is for the sake of the example you could define a custom type the -represents the information in the context based on the guards and interceptors used in your application. +All of the examples reference a GqlContext. This was defined for the sake of the example. It is recommended that you +define a custom type that represents the information in the context based on the guards and interceptors used in your +application. We have defined our `GqlContext` as