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

[Declarative Services] 0..1 cardinality service reference does not work correctly #475

Closed
jeffdiclemente opened this issue Jun 5, 2020 · 0 comments · Fixed by #476
Closed
Assignees
Labels

Comments

@jeffdiclemente
Copy link
Member

jeffdiclemente commented Jun 5, 2020

Given a service component containing a service reference with a 0..1 cardinality, the service component is not activated and its service is not registered immediately when the service reference is not available. This is incorrect as a 0..1 cardinality means that the service reference is optional and is not required for the service component to be active and its service registered.

@jeffdiclemente jeffdiclemente self-assigned this Jun 5, 2020
jeffdiclemente added a commit that referenced this issue Jun 8, 2020
Fixes #475

formatted using clang-format

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com
jeffdiclemente added a commit that referenced this issue Jun 9, 2020
Fixes #475

formatted using clang-format

Signed-off-by: The MathWorks, Inc. Roy.Lurie@mathworks.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant