Skip to content

fix: remove action and channel fields from Operation Trait Object - #860

Merged
asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
magicmatatjahu:next-major/update-operation-trait
Nov 9, 2022
Merged

asyncapi-bot merged 1 commit into
asyncapi:next-major-specfrom
magicmatatjahu:next-major/update-operation-trait

Conversation

@magicmatatjahu

Copy link
Copy Markdown
Member

title: "remove action and channel fields from Operation Trait Object"


Related issue(s):
#856


This PR only shows what changes should be done described in the mentioned issue (#856). If we decide to leave these fields, I will close the PR.

I think the ability to define channel and action at the trait level is bad, because both fields are required by the operation itself.

@magicmatatjahu
magicmatatjahu marked this pull request as ready for review October 26, 2022 12:32
@sonarqubecloud

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
No Duplication information No Duplication information

@dalelane dalelane left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

makes sense to me

@fmvilas fmvilas 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.

LGTM 👍

@derberg

derberg commented Nov 9, 2022

Copy link
Copy Markdown
Member

@magicmatatjahu fyi you have 3 approvals out of 5 codeowners, you can merge when you're ready

will you update JSON Schema?

@magicmatatjahu

magicmatatjahu commented Nov 9, 2022 •

Copy link
Copy Markdown
Member Author

@derberg

will you update JSON Schema?

Yes I will. If 3 people are in favor of it (are you too? 😄) then I merge it.

@derberg

derberg commented Nov 9, 2022

Copy link
Copy Markdown
Member

If 3 people are in favor of it

in favour of what 😅

@magicmatatjahu

Copy link
Copy Markdown
Member Author

Of my changes in this PR 😆

@smoya

smoya commented Nov 9, 2022

Copy link
Copy Markdown
Member

Of my changes in this PR 😆

You have 3 approvals

@magicmatatjahu

Copy link
Copy Markdown
Member Author

/rtm

@asyncapi-bot
asyncapi-bot merged commit 623fbc8 into asyncapi:next-major-spec Nov 9, 2022
@magicmatatjahu
magicmatatjahu deleted the next-major/update-operation-trait branch November 9, 2022 15:08
@asyncapi-bot

Copy link
Copy Markdown
Contributor

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

The release is available on GitHub release

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.

6 participants