-
-
Notifications
You must be signed in to change notification settings - Fork 285
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(Servers): allow to use union type of Server and Reference objects #706
Conversation
Kudos, SonarCloud Quality Gate passed! |
I am not very sure if we should consider this a fix or rather a feature. If it is a new feature, we could include it in 2.4 release (expected to be released in April 2022). |
The reality is that our parser supports this from the very beginning, so we could consider this change just as it is, a fix. I'm up for adding this fix into 2.4 release, what do others think @dalelane @derberg @fmvilas ? |
To me, this is a typo in the document and I'd not consider it a breaking change. I know being strict, it is but it was never intended to be like this so I'd leave it as a fix. |
I see it as a fix, but fix to the specification should be released as a patch. Since 2.4 is pretty close, best to put it into 2.4 branch than now trigger 2.3.1 as this is not critical. How doesn't it look like in spec's JSON Schema, all good there? |
We are covered as Is that the best approach? It is consistent with the rest of the objects? This is a topic @jonaslagoni brought in asyncapi/spec-json-schemas#167., but out of the scope of this PR. |
@char0n would you mind changing the target base branch to |
@smoya sorry for delay - was a little sick. Doing it now. |
base changed |
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.
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.
👍
/rtm |
Hello, @smoya! 👋🏼 |
🎉 This PR is included in version 2.3.1-2022-04-release.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Refs #705