From e4f1d5687538ee1bded537847565f89bf7853399 Mon Sep 17 00:00:00 2001 From: Drelforhn Date: Wed, 28 Jun 2023 10:59:07 -0400 Subject: [PATCH] Add field `regex` of type Boolean to fields list --- wp-graphql-redirection.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-graphql-redirection.php b/wp-graphql-redirection.php index 28cb6c5..0c2d949 100755 --- a/wp-graphql-redirection.php +++ b/wp-graphql-redirection.php @@ -72,6 +72,7 @@ 'groupId' => ['type' => 'Int'], 'groupName' => ['type' => 'String'], 'matchType' => ['type' => 'String'], + 'regex' => ['type' => 'Boolean'], ], ]); @@ -118,6 +119,7 @@ 'groupId' => $row->group_id, 'groupName' => $row->name, 'matchType' => $row->match_type, + 'regex' => $row->regex, ]; }