Skip to content
New issue

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

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

Already on GitHub? # to your account

Rename QueueMessage type parameter #765

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Conversation

mrbbot
Copy link
Contributor

@mrbbot mrbbot commented Jun 13, 2023

QueueMessage is renamed to Message in its override...

JSG_TS_OVERRIDE(Message<Body = unknown> {

...but the rename transform is not type parameter aware. To ensure the type parameter is still used, rename it to something that shouldn't be renamed.

Fixes #758

`QueueMessage` is renamed to `Message` in its override elsewhere, and the
rename transform is not type parameter aware. To ensure the type
parameter is still used, rename it to something that shouldn't be
renamed.

Fixes #758
@mrbbot mrbbot requested a review from penalosa June 13, 2023 14:06
Copy link
Member

@a-robinson a-robinson left a comment

Choose a reason for hiding this comment

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

Thanks 🙏

@mrbbot mrbbot merged commit 6535767 into main Jun 13, 2023
@mrbbot mrbbot deleted the bcoll/queue-message-override-rename branch June 13, 2023 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect type for "queue" in "ExportedHandler"
2 participants