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

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

Conversation

magicmatatjahu
Copy link
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

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

Copy link
Collaborator

@dalelane dalelane left a comment

Choose a reason for hiding this comment

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

makes sense to me

Copy link
Member

@fmvilas fmvilas left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@derberg
Copy link
Member

derberg commented Nov 9, 2022

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

will you update JSON Schema?

@magicmatatjahu
Copy link
Member Author

magicmatatjahu commented Nov 9, 2022

@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
Copy link
Member

derberg commented Nov 9, 2022

If 3 people are in favor of it

in favour of what 😅

@magicmatatjahu
Copy link
Member Author

Of my changes in this PR 😆

@smoya
Copy link
Member

smoya commented Nov 9, 2022

Of my changes in this PR 😆

You have 3 approvals

@magicmatatjahu
Copy link
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
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