From 70f4985179fc77370ce705d24552a806916f6b7b Mon Sep 17 00:00:00 2001 From: Lucian Jones Date: Thu, 14 Apr 2022 15:31:43 +1200 Subject: [PATCH] Add operationName to bramble service poll --- introspection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/introspection.go b/introspection.go index dc1c2448..c41bbf53 100644 --- a/introspection.go +++ b/introspection.go @@ -31,7 +31,7 @@ func NewService(serviceURL string) *Service { // Update queries the service's schema, name and version and updates its status. func (s *Service) Update() (bool, error) { - req := NewRequest("{ service { name, version, schema} }") + req := NewRequest("query brambleServicePoll { service { name, version, schema} }") response := struct { Service struct { Name string `json:"name"`