newrelic / nr1-workload-geoops

NR1 Workload Geo Ops aligns Workload data (or other Entities) in a Geographic management console.
Apache License 2.0
4 stars 19 forks source link

Mutating Tags with Mapping Data #30

Open jbeveland27 opened 4 years ago

jbeveland27 commented 4 years ago

In the future the NerdGraph API is projected to be enhanced to allow mutations. This issue is for us to track that progress and eventually use mutations on Tags with mapping data.

Note: Not in scope for v1

devfreddy commented 4 years ago

This is now available in the SDK

import gql from 'graphql-tag';

const mutation = gql`
  mutation($guid: EntityGuid!) {
    taggingAddTagsToEntity(guid: $guid, tags: $tags) {
      errors {
        message
      }
    }
  }
`;