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

fix: rendering the circular items #356

Merged

Conversation

magicmatatjahu
Copy link
Member

@magicmatatjahu magicmatatjahu commented May 26, 2021

Description

Changes proposed in this pull request:

Rendering the circular items.

image

Related issue(s)
Fixes #351

@magicmatatjahu magicmatatjahu added bug Something isn't working area/library Related to all activities around Library package labels May 26, 2021
@magicmatatjahu
Copy link
Member Author

@derberg Ok I added comment :)

  /**
   * checking uid for circular items
   * after fixing https://github.com/asyncapi/parser-js/issues/293 statement should be removed
   * `x-parser-circular` extension is added to every schema which has circular `items` field,
   * so we must check that `items` is schema (not array of schemas) and infer UID of schema to display which schema is circular (by the name of schema)
   */

@sonarcloud
Copy link

sonarcloud bot commented May 26, 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
No Duplication information No Duplication information

@magicmatatjahu magicmatatjahu merged commit 3ddad45 into asyncapi:next May 26, 2021
@magicmatatjahu magicmatatjahu deleted the next-branches/circular-items branch May 26, 2021 12:32
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0-next.5 🎉

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
area/library Related to all activities around Library package bug Something isn't working released on @next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants