Oipo commented on pull request #328:
URL: https://github.com/apache/celix/pull/328#issuecomment-790006249


   > Yes a service dependency with a `(topic=t)(scope=*)` filter will result in 
a publisher with no scope property. The dependency will match all publishers 
with topic=t and a scope, but not the publisher just registered.
   
   Ah, so it does match all publishers, regardless of scope? I guess it goes to 
show how hard it is to explain the current behaviour.
   
   > I am also not sure if the behavior is desired. I am leaning towards making 
topic and scope mandatory (for requesting publishers and providing subscriber) 
again. This was far more simpler to handle and less error prone.
   > 
   > But reverting this behavior is also impactful, especially to align on 
endpoint discovery between Java and C.
   
   I would agree on making it less error prone and also on doing it outside of 
this PR.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to