Skip to content

#139 Add Configuration.Entry with info on the source of an entry #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 1, 2024

Conversation

rob-bygrave
Copy link
Contributor

@rob-bygrave rob-bygrave commented Apr 30, 2024

Example use:

    Optional<Configuration.Entry> entry = configuration.entry(key);
    entry.ifPresent(e -> {
      String source = e.source();
      String value = e.value();
    });

@rob-bygrave rob-bygrave requested a review from SentryMan April 30, 2024 03:56
@rob-bygrave rob-bygrave self-assigned this Apr 30, 2024
@rob-bygrave rob-bygrave linked an issue Apr 30, 2024 that may be closed by this pull request
@rbygrave rbygrave added this to the 3.14 milestone May 1, 2024
@rbygrave rbygrave merged commit 17af3a9 into master May 1, 2024
7 checks passed
@rbygrave rbygrave deleted the feature/139-entry branch May 1, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extracting property source.
3 participants