feat(automation): generate code based on latest API changes #1225
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.
Automated Pull Request
The following packages have been added or updated:
accountmanagement
.The following new mutations will be added to the codebase:
`log_level: info
cache:
schema_file: schema.json
endpoint: https://api.newrelic.com/graphql
auth:
header: Api-Key
api_key_env_var: NEW_RELIC_API_KEY
generators:
fileName: types.go
fileName: "{{.PackageName}}_api.go"
packages:
path: pkg/accountmanagement
import_path: github.com/newrelic/newrelic-client-go/v2/pkg/accountmanagement
generators:
imports:
queries:
endpoints:
max_query_field_depth: 2
mutations:
max_query_field_depth: 3
max_query_field_depth: 3
max_query_field_depth: 2
`
Please perform the following actions before merging:
Note: If something looks off or you have questions, please reach out to an Observability as Code team member for assistance.