Skip to content

feat: allow for interface types in queries to be included or excluded#261

Open
pranav-new-relic wants to merge 1 commit intomainfrom
include-interface-fields
Open

feat: allow for interface types in queries to be included or excluded#261
pranav-new-relic wants to merge 1 commit intomainfrom
include-interface-fields

Conversation

@pranav-new-relic
Copy link
Copy Markdown
Member

@pranav-new-relic pranav-new-relic commented Aug 27, 2025

    queries:
      - path: [ "actor", "entityManagement" ]
        endpoints:
          - name: entity
            max_query_field_depth: 4
            exclude_fields:
              - agents
              - tools
            include_implementations:
              - EntityManagementPipelineCloudRuleEntity

    types:
      - name: EntityManagementEntity
        include_implementations:
          - EntityManagementPipelineCloudRuleEntity

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 the bin > darwin of the tutone repo, after the make compile is 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 of tutone).

Note that the above procedure will need to be followed - do not resort to changing the dependency of tutone in the New Relic Go Client's go.mod, as that would not be helpful.

@pranav-new-relic pranav-new-relic changed the title feat: allow for interface types to be included or excluded feat: allow for interface types in queries to be included or excluded Aug 27, 2025
@pranav-new-relic pranav-new-relic force-pushed the include-interface-fields branch from b9bd11d to bf8b3bd Compare August 27, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant