Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[typescript/sdk-gen] Generate JS doc comments for output-versioned invokes #11511

Merged
merged 1 commit into from Dec 5, 2022

Conversation

Zaid-Ajaj
Copy link
Contributor

  • Generate JS doc comments for output-versioned invokes
  • Use explicit any type within apply lambda

This is part of #11418 but irrelevant to that (big) PR so this will help make the changes smaller and more clear

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

@Zaid-Ajaj Zaid-Ajaj added kind/enhancement Improvements or new features language/javascript area/codegen SDK-gen, program-gen, convert labels Dec 2, 2022
@pulumi-bot
Copy link
Contributor

pulumi-bot commented Dec 2, 2022

Changelog

[uncommitted] (2022-12-05)

Bug Fixes

  • [sdkgen/nodejs] Generate JS doc comments for output-versioned invokes and use explicit any type.
    #11511

Copy link
Member

@iwahbe iwahbe left a comment

Choose a reason for hiding this comment

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

LGTM!

I'm pretty sure the azure-native test failures in codegen are unrelated.

@@ -1197,7 +1204,7 @@ func (mod *modContext) genFunctionOutputVersion(

fmt.Fprintf(w, `
Copy link
Member

Choose a reason for hiding this comment

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

The new line here (directly after `) is causing a blank line between the function comments and declaration.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed it ✅

@Zaid-Ajaj
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Dec 5, 2022

Build succeeded:

@bors bors bot merged commit a079941 into master Dec 5, 2022
@bors bors bot deleted the zaid/better-ts-gen branch December 5, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen SDK-gen, program-gen, convert kind/enhancement Improvements or new features language/javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants