Skip to content

Handle circular refs in extensions and bindings #294

Closed as not planned
Closed as not planned

Description

@magicmatatjahu

Reason/Context

We currently handle circular refs only in schemas, but we should also in extensions and bindings. Check issue to see how it should works.

Activity

  1. added
    enhancement
    on Apr 27, 2021
  2. github-actions commented on Jun 27, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴
    It will be closed in 60 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
    Thank you for your contributions ❤️

  3. derberg commented on Jun 28, 2021

    @derberg
    Member

    @magicmatatjahu can you provide some examples?

  4. magicmatatjahu commented on Jun 28, 2021

    @magicmatatjahu
    MemberAuthor

    Similar like in #293 issue:

    x-custom-ext:
      $ref: "#/components/schemas/RecursiveSelf"
                   
    components:
      schemas:
        RecursiveSelf:
          type: object
          properties:
            selfChildren:
              type: array
              items:
                $ref: '#/components/schemas/RecursiveSelf'
            selfObjectChildren:
              type: object
              properties:
                test:
                  $ref: '#/components/schemas/RecursiveSelf'
                nonRecursive:
                  type: string
            selfSomething:
              type: object
              properties:
                test: 
                   $ref: '#/components/schemas/RecursiveAncestor'
        RecursiveAncestor:
          type: object
          properties:
            ancestorChildren:
              type: array
              items:
                $ref: '#/components/schemas/RecursiveSelf'
            ancestorSomething:
              type: string
    

    and then we have circular references:

    x-custom-ext -> RecursiveSelf -> RecursiveSelf
    x-custom-ext -> RecursiveSelf -> RecursiveAncestor -> RecursiveSelf
    

    Similar will be for any bindings :)

  5. github-actions commented on Aug 28, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴
    It will be closed in 60 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
    Thank you for your contributions ❤️

  6. github-actions commented on Dec 29, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  7. magicmatatjahu commented on Jan 3, 2022

    @magicmatatjahu
    MemberAuthor

    That issue is partially resolved by #391 but we still need info what data in extension/binding is schema. If we know this then the issue itself should be closed.

  8. github-actions commented on May 4, 2022

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  9. github-actions commented on Sep 8, 2022

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  10. magicmatatjahu commented on Sep 8, 2022

    @magicmatatjahu
    MemberAuthor

    Still valid. We need custom extensions integration in parser to go forward with this task.

  11. github-actions commented on Jan 8, 2023

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions