Skip to content

feat(node): add CompatibilityResources option for NodeJS APIs#6238

Draft
jskeet wants to merge 2 commits into
googleapis:mainfrom
jskeet:node-multi-patterns
Draft

feat(node): add CompatibilityResources option for NodeJS APIs#6238
jskeet wants to merge 2 commits into
googleapis:mainfrom
jskeet:node-multi-patterns

Conversation

@jskeet

@jskeet jskeet commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

If compatibility resources are specified in librarian.yaml, they are passed to the GAPIC generator.

Related GAPIC generator option draft PR:
googleapis/google-cloud-node#8405

If compatibility resources are specified in librarian.yaml, they are
passed to the GAPIC generator.

Related GAPIC generator option draft PR:
googleapis/google-cloud-node#8405
@jskeet jskeet requested a review from quirogas June 1, 2026 10:46
@jskeet

jskeet commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

(Created as a draft so we can consider if this is the right solution for #5040. Still needs names to be agreed, tests etc.)

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new configuration option CompatibilityResources to the Node.js API configuration. This option allows specifying a list of resource names for which legacy single-pattern functions should be generated. The configuration is parsed and passed down to the generator arguments as a semicolon-separated string via the --compatibility-resources flag. There are no review comments, and I have no feedback to provide.

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