Repository navigation
chore: add missed metadata methods to the core models - #677
asyncapi-bot merged 2 commits into
Conversation
|
Kudos, SonarCloud Quality Gate passed! |
fmvilas
left a comment
There was a problem hiding this comment.
I'm happy to accept this PR but I don't agree with this kind of "optimizations". This is one of these situations where DRY doesn't apply well and it's going to bite us further down the track.
You're grouping summary and description with unrelated stuff like externalDocs and bindings. All in a single place just to avoid repetition. It's all good now but code evolves over time and what's common today may not be common tomorrow and this PR is hiding all these "common" things making it harder to spot.
Just an opinion though. Time will tell 😄
|
Looking at the speed of change in the spec it will be in about 3 years 😆 |
|
/rtm |
|
🎉 This PR is included in version 2.1.0-next-major-spec.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 2.2.0-next-major-spec.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |








Description
title(),hasTitle(),summary(),hasSummary(),tags()methods to the core models:Channel,Server,Operation.CoreMixinsinterface and abstractCoreModelclass to use inheritance.Related issue(s)
Part of asyncapi/spec#795
Part of asyncapi/spec#750