From 7ec238a469d32f2a3474fb2defdc0ec313fcacda Mon Sep 17 00:00:00 2001 From: August Miller Date: Mon, 8 Jan 2024 07:43:40 -0800 Subject: [PATCH] Use event constant --- docs/4.x/extend/graphql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/4.x/extend/graphql.md b/docs/4.x/extend/graphql.md index bb11d3766..d1c15a2f3 100644 --- a/docs/4.x/extend/graphql.md +++ b/docs/4.x/extend/graphql.md @@ -380,7 +380,7 @@ Event::on( ### Modifying Type Fields -Craft’s includes a `defineGqlTypeFieldsEvent` event you can use to add, remove or modify fields on any GraphQL type. +Attach a handler to to add, remove or modify fields on any GraphQL type. Below we’re removing IDs throughout the schema in favor of UIDs, and adding an `authorEmail` field to the entry interface: