Skip to content

Commit 1189549

Browse files
authored
fix: requires in makeProcessSchemaPlugin (#266)
1 parent d50d427 commit 1189549

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/postgraphile/make-process-schema-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ an alternative schema (e.g. a derivative).
2727
### Example
2828

2929
```js
30-
require("graphile-utils");
30+
const { makeProcessSchemaPlugin } = require("graphile-utils");
3131

3232
module.exports = makeProcessSchemaPlugin(schema => {
3333
return addThirdPartyEnhancementsToSchema(schema);
@@ -38,7 +38,7 @@ You can also use `makeProcessSchemaPlugin` to replace the current schema with a
3838
stitched schema and run it from within the PostGraphile server:
3939

4040
```js
41-
require("graphile-utils");
41+
const { makeProcessSchemaPlugin } = require("graphile-utils");
4242

4343
module.exports = makeProcessSchemaPlugin(schema => {
4444
return stitchOtherSchemasInto(schema);

0 commit comments

Comments
 (0)