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

refactor: add support functions for CommonModel #183

Merged
merged 5 commits into from
May 13, 2021

Conversation

jonaslagoni
Copy link
Sponsor Member

Description
This PR introduces some more functions to CommonModel, which are going to be used as part of the further refactoring of the simplifier.

Furthermore, I added functionality to ensure that recursive CommonModels are handles correctly when merging. With the current simplifier, this is not a problem so it is not a fix:.

@coveralls
Copy link

coveralls commented May 12, 2021

Coverage Status

Coverage decreased (-0.08%) to 94.561% when pulling 57b36f1 on jonaslagoni:feature/support_functions into 9dec1e5 on asyncapi:master.

Copy link
Member

@magicmatatjahu magicmatatjahu left a comment

Choose a reason for hiding this comment

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

Few comments :) Great job! Also, please change chore: to refactor: :)

src/models/CommonModel.ts Outdated Show resolved Hide resolved
src/models/CommonModel.ts Show resolved Hide resolved
src/models/CommonModel.ts Outdated Show resolved Hide resolved
Co-authored-by: Maciej Urbańczyk <urbanczyk.maciej.95@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented May 12, 2021

Please retry analysis of this Pull-Request directly on SonarCloud.

@sonarcloud
Copy link

sonarcloud bot commented May 12, 2021

Kudos, SonarCloud 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
2.1% 2.1% Duplication

@jonaslagoni jonaslagoni changed the title chore: add support functions for CommonModel refactor: add support functions for CommonModel May 12, 2021
@jonaslagoni
Copy link
Sponsor Member Author

Thanks 🎉

@jonaslagoni jonaslagoni merged commit 10250e8 into asyncapi:master May 13, 2021
@jonaslagoni jonaslagoni deleted the feature/support_functions branch May 13, 2021 09:02
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants