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

.id() doesn't work for $refed components #888

Closed
KhudaDad414 opened this issue Oct 30, 2023 · 1 comment
Closed

.id() doesn't work for $refed components #888

KhudaDad414 opened this issue Oct 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@KhudaDad414
Copy link
Member

Describe the bug

I have the following channel:

channels:
  slackResponse:
    address: /api/

and the following operation:

operations:
  reacted:
    action: send
    reply:
      channel:
        $ref: "#/channels/slackResponse"

I would assume the document.channels().get("slackResponse") and document.operations().get("reacted").reply() to return the same object but in second case, the object is missing the id property.

@KhudaDad414 KhudaDad414 added the bug Something isn't working label Oct 30, 2023
@jonaslagoni
Copy link
Member

Let's continue in #873 as it's the same underlying issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants