Adam Weigert
Adam Weigert
I did extensions like this that are super handy ... ```csharp public static class OneOfIs { public static bool Is(this IOneOf oneOf, [NotNullWhen(true)] out T? value) { if (oneOf.Value is...
**Bicep version** 0.2.14 **Describe the bug** The resource type @ version `Microsoft.Web/connections@2016-06-01` is not available (BCP081) **To Reproduce** ```resource connection 'Microsoft.Web/connections@2016-06-01' = { .. }```
Just hit this after a few GitHub repos converted. What's the recommended best practice for a GitHub repo? One per repo? Was hoping one per team would be sufficient, especially...
Try this: ```csharp var mock = new Mock(); mock.As() .Setup(x => x.BeginTransaction()) .Returns(() => new Mock().Object); var connection = (IDbConnection)mock.Object; using (var transaction = connection.BeginTransaction()) { transaction.Commit(); } ``` Best...
Does the SetupDapperAsync not take a transaction then? Did you try doing the setup before you generated a proxy on mock.Object?
Here is a quick example I put together ... is this close to what you are testing ... it's working on my sample app ... ```csharp using Dapper; using FluentAssertions;...
As I understand the problem and current limitations of the library, this isn't possible as the `IDbConnection.CreateCommand()` is replaced with each invocation of `SetupDapper`.
We had a simple need, support GET requests with odata syntax. Thanks to the extension method provided by @aletc1 I was able to spend a few hours this afternoon and...
> Is there any workaround for v3? @alexmartinezm -- I just pushed [an update](https://github.com/smokedlinq/Microsoft.Azure.WebJobs.Extensions.OData) that makes this work for v3 Azure Functions
Not sure. I'm the furthest thing from an OData expert. I'm pretty sure I shouldn't publish it with the Microsoft prefix on the NuGet package if I do, so I'll...