-
Notifications
You must be signed in to change notification settings - Fork 131
Document that Destructure config does not work in current Nuget release #137
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
Comments
Thanks for the note. I think we're overdue in getting #112 out the door - there wouldn't normally be as much feature-inventory as we currently have. Were you able to try the current pre-release version? Feedback on how the new features are working for you would be valuable. Thanks! |
The latest prerelease seems to work fine. I was able to configure Destructurama using both syntaxes:
and -
Is there any documentation of the "policy" string format? I guessed right at what I was supposed to be putting in there, but I couldn't find anything describing what the two parts of the comma delimited string actually mean. |
We do have a repo that contains examples of common scenarios, and an example of custom destructuring here : The general idea is that when a configuration method expects a parameter that is an The format is rather standard, it is the type's "assembly-qualified name", and is the format accepted by |
I did come across that repo while troubleshooting, and it was very helpful. Thanks for putting it together. Sort of the same comment I had earlier is that it wasn't easy to tell that the destructuring config isn't actually valid in the currently released nuget package, and would be good to have a note on the destructuring section for the time being that it's only valid for 3.0+. Also would be good to have a link to it from the readme in this project, as it's a bit hard to find outside of reading through lots of closed issues. Also thanks for the clarity on the parameter formatting. I found a lot of great information on how to structure configuration, but quite a bit of it was somewhat difficult to track down as someone new to this library. Things like the "using" block being redundant on Core but not on framework (#122), the various different ways to express subloggers or how to structure sinks so that your base configuration can be overridden with environment variables. |
Currently, the dev branch is the default branch for this repo. When I visit the project URL listed under the currently released nuget package, I see the readme for the dev branch, which documents features (like Destructure configuration) that aren't actually present in the currently released version of serilog.settings.configuration.
Would it be possible to have a note on the readme in dev to give a hint that certain features are only available in pre-release packages?
The text was updated successfully, but these errors were encountered: