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

Referenced resource not included in response if unsubscribed while getting ready #241

Closed
jirenius opened this issue Jun 6, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jirenius
Copy link
Collaborator

jirenius commented Jun 6, 2024

Issue

When subscribing (directly or indirectly, through a subscribe request or a resource event) to a resource (A) that indirectly references another resource (B) that is already directly or indirectly subscribed, that child resource (B) will not be included in the client response for the subscription of the parent resource (A) if it is unsubscribe while the parent resource (A) is still not ready due to it loading other references.

Example
(Simplified without access requests)
image

jirenius added a commit that referenced this issue Jun 6, 2024
jirenius added a commit that referenced this issue Jun 7, 2024
Added more tests for indirectsent.
Added test for collection add event with resource reference.
@jirenius jirenius self-assigned this Jun 7, 2024
@jirenius jirenius added the bug Something isn't working label Jun 7, 2024
jirenius added a commit that referenced this issue Jun 7, 2024
…rces-not-included-when-unsubscribed

Bugfix/gh 241 referenced resources not included when unsubscribed
@jirenius
Copy link
Collaborator Author

jirenius commented Jun 7, 2024

Resolved in PR #242

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

1 participant