Skip to content

[v18] Generate a reference for discovery_config#62130

Merged
ptgott merged 1 commit intobranch/v18from
bot/backport-61992-branch/v18
Dec 10, 2025
Merged

[v18] Generate a reference for discovery_config#62130
ptgott merged 1 commit intobranch/v18from
bot/backport-61992-branch/v18

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented Dec 10, 2025

Backport #61992 to branch/v18

@ptgott ptgott added the no-changelog Indicates that a PR does not require a changelog entry label Dec 10, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 10, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
bot/backport-61992-branch/v18 53d18af 2 ✅SUCCEED bot-backport-61992-branch-v18 2025-12-10 15:22:28

@ptgott ptgott marked this pull request as ready for review December 10, 2025 15:17
See #61931

Edit the resource reference generator config to support the
`discovery_config` resource and generate a reference guide to the
resource's fields.

Also perform some minor cleanup of the resource reference generator
config file.

Note that, in order to add the `Metadata` field to the reference, this
change fixes a bug in which it only adds reference entries based on the
fields of a given declaration, not the fields included in any embedded
struct fields of the declaration. As part off this work, clarify
function names, renaming `handleEmbeddedStructFields` to
`allFieldsForDecl` and `getRawTypes` to `typeForDecl`.

Also remove a list of possible function declarations that the generator
used in an earlier iteration but no longer uses.
@ptgott ptgott added this pull request to the merge queue Dec 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2025
@ptgott ptgott added this pull request to the merge queue Dec 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2025
@ptgott ptgott added this pull request to the merge queue Dec 10, 2025
Merged via the queue into branch/v18 with commit 01cedf5 Dec 10, 2025
42 checks passed
@ptgott ptgott deleted the bot/backport-61992-branch/v18 branch December 10, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport documentation no-changelog Indicates that a PR does not require a changelog entry size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants