-
Notifications
You must be signed in to change notification settings - Fork 583
Labels
Description
Environment Details
- Helidon Version: 4.2.x
- Helidon SE
io.helidon.config.Config.config(Config) method has the following deprecation comment:
use {@link io.helidon.service.registry.Services#set(Class, Object[])} to register a static instance for the
* global service registry; when using a custom service registry instance, set is on the registry configuration builder
- This does not work in 4.2.4 -
io.helidon.config.Configis not a valid contract (this should be fixed in 4.2.5) - The recommended approach would only register a config instance for
io.helidon.config.Config, but not forio.helidon.common.config.Config; the latter is used by internal components of Helidon to retrieve configuration from service registry, and as such it should use the same instance
We must fix this and validate that when Services.set(io.helidon.config.Config.class, configInstance) is called, it would be available both as common Config instance and as config Config instance...
Related to #10416
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Sprint Scope