Skip to content

Commit

Permalink
Merge pull request #150 from movio/explicit-poll-operation-name
Browse files Browse the repository at this point in the history
Set operationName explicitly when polling
  • Loading branch information
Lucian Jones authored Apr 20, 2022
2 parents ad49de9 + 078418e commit 6cfb4cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions introspection.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,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("query brambleServicePoll { service { name, version, schema} }")
req.OperationName = "brambleServicePoll"
response := struct {
Service struct {
Name string `json:"name"`
Expand Down

0 comments on commit 6cfb4cd

Please sign in to comment.