-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
feat: make channels optional #682
Conversation
Kudos, SonarCloud Quality Gate passed! |
Is this not a breaking change? 🤔 |
If we switch optional to required then yes, but switching required -> optional won't break any AsyncAPI document. |
It will not be forward compatible but it will be backward compatible. I think we should also make it clear in the spec, that we aim for backward compatibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Let's wait for @derberg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought twice about it and think this one is a breaking change and should be postponed to v3.
I'll have a look to see if there is anything else that needs to be pulled out of 2.3 release branches |
As per asyncapi/spec-json-schemas#146 (comment), we won't include this change in |
/dnm |
Description
Part of #661.
This PR removes the
required
prefix from thechannels
field at root level of the document.Related issue(s)
#661