Skip to content

refactor: port components model - #548

Merged
asyncapi-bot merged 2 commits into
asyncapi:next-majorfrom
magicmatatjahu:next/port-components
May 16, 2022
Merged

asyncapi-bot merged 2 commits into
asyncapi:next-majorfrom
magicmatatjahu:next/port-components

Conversation

@magicmatatjahu

@magicmatatjahu magicmatatjahu commented May 10, 2022 •

Copy link
Copy Markdown
Member

Description

  • port Components model
  • add unit tests

Related issue(s)
Part of #481
Part of #482

cc @smoya

Comment thread src/models/components.ts Outdated
Comment on lines +29 to +30
externalDocs(): Record<string, ExternalDocumentationInterface>;
tags(): Record<string, TagInterface>;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

More info asyncapi/spec#792

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are you adding components that have yet to be accepted into the spec? 🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Why not? Operations in 3.0.0 will land in components anyway.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Cause if the changes are rejected, they should not already be part of the parser 🙂 You still follow RFC.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ok, removed :P

@sonarqubecloud

Copy link
Copy Markdown

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

@magicmatatjahu

Copy link
Copy Markdown
Member Author

@jonaslagoni Thanks!

@magicmatatjahu

Copy link
Copy Markdown
Member Author

/rtm

@asyncapi-bot
asyncapi-bot merged commit c0ed58d into asyncapi:next-major May 16, 2022
@magicmatatjahu
magicmatatjahu deleted the next/port-components branch May 16, 2022 10:28
magicmatatjahu added a commit to magicmatatjahu/parser-js that referenced this pull request Oct 3, 2022
derberg pushed a commit that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants