Muhammad Rehan Saeed
Muhammad Rehan Saeed
This is an overlooked side effect of switching to interfaces. We could fix this by adding more generic type parameters. I have a working sample here that turns `OneOrMany` into...
I was messing with adding a `OneOrMany` type which would allow us to add lots of implicit conversions for `TImplementation`. It's on a branch here: https://github.com/RehanSaeed/Schema.NET/tree/implicit-concrete-type-conversion @lorenpaulsen I've had some...
@Turnerj Interfaces were initially introduced to resolve https://github.com/RehanSaeed/Schema.NET/issues/13 via https://github.com/RehanSaeed/Schema.NET/pull/14. Ideally, we could find a way to support both features but I'm not sure that's possible. I messed about with...
I do something like this: ``` var mygetApiKey = HasArgument("MyGetApiKey") ? Argument("MyGetApiKey") : EnvironmentVariable("MyGetApiKey"); ```
I've since evolved my script to do this: ``` public T GetArgument(string name, T defaultValue = default(T), Func canGetArgument = null, Func getArgument = null) { return HasArgument(name) ? Argument(name)...
This is a good idea. I applaud it and am thinking of using this license. Have lawyers looked over this license? If so, what countries were they from?
Is anyone starting this? Otherwise I'll dump @techgeek03's code in a NuGet package called Serilog.Enrichers.Span.
I rustled up a new NuGet package for this purpose: https://github.com/RehanSaeed/Serilog.Enrichers.Span
Added that check in the 1.0.1 release. https://github.com/RehanSaeed/Serilog.Enrichers.Span/pull/1
If both are .NET 5 (this means they default to W3C format of spans) and you use HttpClient to make the call to the API, then the parent ID should...