Skip to content

feat!: remove messageId() - #889

Merged
asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
fmvilas:remove-message-id
Nov 6, 2023
Merged

asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
fmvilas:remove-message-id

Conversation

@fmvilas

@fmvilas fmvilas commented Nov 3, 2023 •

Copy link
Copy Markdown
Contributor

Description
Removes the messageId() function from the Message and MessageTrait objects. Keeps the same behavior on v2 but it doesn't look for messageId on v3. Now we only have one method to grab the id of a message and it's .id().

Also, now .hasMessageId() now always returns false for v3.

Related issue(s)
asyncapi/spec#978

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jonaslagoni jonaslagoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just one question, same as in asyncapi/parser-api#102 (comment)

Comment thread src/models/v3/message-trait.ts Resolved

@smoya smoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! 🚀🌔

@jonaslagoni jonaslagoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👌

@jonaslagoni

Copy link
Copy Markdown
Member

/rtm

@asyncapi-bot
asyncapi-bot merged commit a93f248 into asyncapi:next-major-spec Nov 6, 2023
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.0.0-next-major-spec.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants