PengZheng commented on code in PR #840:
URL: https://github.com/apache/celix/pull/840#discussion_r3083292255
##########
documents/components.md:
##########
@@ -622,7 +624,8 @@ Remarks for the C++ example:
service dependency, component or DM is build. Note that the
`celix::dm::Component::createServiceDependency` method
is called without provided a service name, the service name will be
inferred using the `celix::typeName`.
5. Configures the service dependency set callback.
-6. Configures the service dependency as a required service dependency.
+6. Configures the service dependency as a required service dependency by
setting the minimalCardinality to at least `1`.
+ Setting the minimalCardinality determines howmany services are required for
the service dependency to be available.
Review Comment:
```suggestion
Setting the minimalCardinality determines how many services are required
for the service dependency to be available.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]