feat: allow for interface types in queries to be included or excluded - #261
Open
pranav-new-relic wants to merge 1 commit into
Open
feat: allow for interface types in queries to be included or excluded#261pranav-new-relic wants to merge 1 commit into
pranav-new-relic wants to merge 1 commit into
Conversation
pranav-new-relic
force-pushed
the
include-interface-fields
branch
from
August 27, 2025 19:20
b9bd11d to
bf8b3bd
Compare
5 tasks
pranav-new-relic
added a commit
to newrelic/newrelic-client-go
that referenced
this pull request
Jul 7, 2026
… + NerdGraph Notebook content lives on the Blob Storage REST API; entity metadata is served by NerdGraph's EntityManagement namespace. The Notebooks client hides that split behind CreateNotebook / GetNotebookContent / UpdateNotebookContent / RenameNotebook / DeleteNotebook (Blob API) and GetNotebook / SearchNotebooks (NerdGraph). Types and the generic entityManagementDelete mutation are generated with the modified tutone from newrelic/tutone#261 to keep the EntityManagement interface scoped to NotebookEntity only. Includes unit tests (mock httptest server, 100% coverage on hand-written code) and an integration test that drives create -> read -> search -> update -> rename -> delete and verifies platform state after each mutation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To use this in the New Relic Go Client, clone the Tutone repository, compile the code locally, and copy the binary (executable)
tutone(generated in thebin>darwinof thetutonerepo, after themake compileis run), to the New Relic Go Client's repository, preferably just right in the repo's root directory. Once done, substitue all Tutone commands run in the Go Client, with./tutone(instead oftutone).Note that the above procedure will need to be followed - do not resort to changing the dependency of
tutonein the New Relic Go Client'sgo.mod, as that would not be helpful.