From b8f49676ff506254ef511033d5fbeef590f8268c Mon Sep 17 00:00:00 2001 From: Nimer Farahty Date: Sat, 31 May 2025 19:02:41 +0300 Subject: [PATCH] fix __schema --- app/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/auth.go b/app/auth.go index cdc4c28..1746d64 100644 --- a/app/auth.go +++ b/app/auth.go @@ -115,7 +115,7 @@ func AuthorizeOperation(ctx context.Context) error { object := graphql.GetRootFieldContext(ctx).Field.Name action := string(graphql.GetOperationContext(ctx).Operation.Operation) - if object == "__type" { + if object == "__type" || object == "__schema" || object == "__typename" { return nil }