DataDog / serilog-sinks-datadog-logs

Serilog Sink that sends log events to Datadog https://www.datadoghq.com/
Apache License 2.0
60 stars 41 forks source link

Minimal Package (move Microsoft.Extensions.Options.ConfigurationExtensions to separate package) #92

Open codewing opened 1 year ago

codewing commented 1 year ago

Hello there,

We're currently integrating datadog into our library but would like to keep the dependencies minimal. Our current approach is to copy the sources of this package into our repository and remove all the code that has a dependency to Microsoft.Extensions.Options.ConfigurationExtensions since we don't use it anyway.

Since we would love to simply use the DD nuget package without the additional libraries coming from the ConfigurationExtensions is there a possibility to publish a minimal version of this repository with the other code as an extension package?

codewing commented 1 year ago

If this is accepted I can also create a PR for this

jszwedko commented 3 months ago

Hi @codewing . Apologies for the delayed response. I think we'd support a PR that added a conditional compilation flag for the code that depends on Microsoft.Extensions.Options.ConfigurationExtensions.