Open
Description
As of current design, SQL workbench services can be registered with provider ID any number of times by provider itself or extensions, and the implementation would allow overriding provider reference without any restrictions.
e.g.
Account Management Service
Object Explorer Service
and so on..
This design has been questioned multiple times while implementing same way in Error Diagnostics Service: #21627 (comment), #21627 (comment)
Questions for extensibility:
- Should provider registration be limited to per provider ID only once or should we allow multiple provider registrations with same ID?
- If once, what is the sequence of provider registration? How can we ensure the 'trusted' extensions get to register the services, and not others?
Since this design problem is applicable to multiple services, opening this issue for discussion, so it can be addressed universally.