2023-10-06 05:22:43 +00:00
|
|
|
def resolve_service(parent, args, context, info):
|
|
|
|
# For debugging purposes
|
|
|
|
print("Resolver resolve_service called")
|
|
|
|
|
2023-10-06 04:54:47 +00:00
|
|
|
# For now, return a placeholder SDL.
|
|
|
|
sdl = "type Query { _service: _Service } type _Service { sdl: String }"
|
2023-10-06 05:22:43 +00:00
|
|
|
|
|
|
|
result = {"sdl": sdl}
|
|
|
|
print(f"Returning from resolve_service: {result}")
|
|
|
|
return result
|