From 29cc1d589d97ebfe50ff52f6fca1f3e6ef984868 Mon Sep 17 00:00:00 2001 From: Eric Hosick Date: Wed, 18 Oct 2023 19:14:08 -0700 Subject: [PATCH] Update crud-mutations.md With example, get the error "Error: 'create' behavior is forbidden; did you mean 'insert'?" Using insert worked. --- postgraphile/website/postgraphile/crud-mutations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgraphile/website/postgraphile/crud-mutations.md b/postgraphile/website/postgraphile/crud-mutations.md index 433d74c4fa..b6c6f0c465 100644 --- a/postgraphile/website/postgraphile/crud-mutations.md +++ b/postgraphile/website/postgraphile/crud-mutations.md @@ -18,7 +18,7 @@ CRUD mutations can easily be disabled by disabling the `create`, export default { // ... schema: { - defaultBehavior: "-create -update -delete", + defaultBehavior: "-insert -update -delete", }, }; ```