Redirect when already authenticated

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-05 11:39:33 +04:00
parent 8df0e526ba
commit a388aa4999
11 changed files with 196 additions and 173 deletions

View File

@@ -69400,7 +69400,11 @@ func (ec *executionContext) _Node(ctx context.Context, sel ast.SelectionSet, obj
}
return ec._ApplicabilityStatement(ctx, sel, obj)
default:
panic(fmt.Errorf("unexpected type %T", obj))
if typedObj, ok := obj.(graphql.Marshaler); ok {
return typedObj
} else {
panic(fmt.Errorf("unexpected type %T; non-generated variants of Node must implement graphql.Marshaler", obj))
}
}
}