eclipse / microprofile-context-propagation

Apache License 2.0
33 stars 23 forks source link

Remove circular bean dependency in tests. #175

Closed manovotn closed 5 years ago

manovotn commented 5 years ago

This PR has no effect on the tests themselves, it just removes a circular bean dependency from the tests by moving the producers/disposer to a different bean that the one consuming them.

While circular dependencies are supported in CDI (to certain extent), they are not a nice practice, so I thought I'd improve that.

mkouba commented 5 years ago

Looks good.