Skip to content

Possibility to get only those properties that explicitly declared in MyProperties interface #405

@Achitheus

Description

@Achitheus

I read documentation and found this option:

Map<String, String> properties = new TreeMap<>();
accessible.fill(properties);
properties.forEach(
            (key, value) -> // whatever
);

where accessible is MyPropertiesInterface which extendsAccessible instead of extendingConfig directlly.
But this approach just gives all available properties from all declared @Config.Sources no matter which properties declared explicitly in the interface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions