Skip to content

Commit

Permalink
docs(block field suggestions): update function name (#481)
Browse files Browse the repository at this point in the history
Signed-off-by: Beldjilali Mehdi <[email protected]>
  • Loading branch information
mehdibeldjilali authored Aug 23, 2023
1 parent b09a200 commit 010d7ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/docs/docs/plugins/block-field-suggestions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
]
});
```
Expand All @@ -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]>'
}),
]
Expand Down

0 comments on commit 010d7ef

Please sign in to comment.