Skip to content
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

Added settings option [includedData] to ConfigurationExtensions. #133

Merged
merged 9 commits into from
May 7, 2024

Conversation

binginsin
Copy link
Contributor

This will allow passing included data through appsettings.json in a string format "flag, anotherflag"

fixes #132

@binginsin
Copy link
Contributor Author

There's a newline expected at the end but not produced. Not sure where to change this as the *.approved.txt file doesn't seem to have a newline at the end.
Could it be unix vs windows file endings as I didn't add any newlines?

@nblumhardt
Copy link
Member

I think your editor will be adding the trailing newline automatically. We should probably update the tests to trim this off anyway. I've merged in the latest dev and (hopefully) fixed this. Thanks for the PR!

@nblumhardt nblumhardt merged commit 003fcc2 into serilog:dev May 7, 2024
1 check passed
@nblumhardt nblumhardt mentioned this pull request May 7, 2024
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.

Cannot set IncludedData from appsettings.json
2 participants