Tweak the schema

This commit is contained in:
Cyber MacGeddon 2025-09-04 13:57:27 +01:00
parent 8d4aa0069c
commit 1a3202bb8b

View file

@ -8,13 +8,11 @@ from ..core.topic import topic
# Structured Query Service - executes GraphQL queries
class StructuredQueryRequest(Record):
query = String() # GraphQL query
variables = Map(String()) # GraphQL variables
operation_name = String() # Optional operation name for multi-operation documents
question = String()
class StructuredQueryResponse(Record):
error = Error()
data = String() # JSON-encoded GraphQL response data
errors = Array(String()) # GraphQL errors if any
############################################################################
############################################################################