From 010d7efcddf1bee13541b47eb83912c989ab7469 Mon Sep 17 00:00:00 2001 From: Beldjilali Mehdi Date: Wed, 23 Aug 2023 18:43:39 +0200 Subject: [PATCH] docs(block field suggestions): update function name (#481) Signed-off-by: Beldjilali Mehdi --- services/docs/docs/plugins/block-field-suggestions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/docs/docs/plugins/block-field-suggestions.md b/services/docs/docs/plugins/block-field-suggestions.md index 9c57f061..0d3be0a1 100644 --- a/services/docs/docs/plugins/block-field-suggestions.md +++ b/services/docs/docs/plugins/block-field-suggestions.md @@ -48,12 +48,12 @@ yarn add @escape.tech/graphql-armor-block-field-suggestions ```ts import { envelop } from '@envelop/core'; -import { blockFieldSuggestions } from '@escape.tech/graphql-armor-block-field-suggestions'; +import { blockFieldSuggestionsPlugin } from '@escape.tech/graphql-armor-block-field-suggestions'; const getEnveloped = envelop({ plugins: [ // ... other plugins ... - blockFieldSuggestions(), + blockFieldSuggestionsPlugin(), ] }); ``` @@ -62,12 +62,12 @@ const getEnveloped = envelop({ ```ts import { envelop } from '@envelop/core'; -import { blockFieldSuggestions } from '@escape.tech/graphql-armor-block-field-suggestions'; +import { blockFieldSuggestionsPlugin } from '@escape.tech/graphql-armor-block-field-suggestions'; const getEnveloped = envelop({ plugins: [ // ... other plugins ... - blockFieldSuggestions({ + blockFieldSuggestionsPlugin({ mask: '<[REDACTED]>' }), ]