-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
While using this sdk in conjunction with Marten. Marten's C# code generation causes exceptions and failing tests. I have absolutely no idea what the issue could be or if a fix is possible. I can create a repro if needed.
Failed API Tests.storeMany/delete/saveChanges [1 s]
Error Message:
Exception has been thrown by the target of an invocation.
Stack Trace:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Marten.Internal.CodeGeneration.DocumentProviderBuilder.BuildProvider[T]()
at Marten.Internal.ProviderGraph.StorageFor[T]()
at Marten.Internal.Sessions.QuerySession.StorageFor[T]()
at Marten.Internal.Sessions.DocumentSessionBase.store[T](IEnumerable`1 entities)
at Marten.Internal.Sessions.DocumentSessionBase.Store[T](T[] entities)
at Marten.Session.storeSingle[a](a entity, IDocumentSession session) in /home/christian/Programming/Marten.FSharp/src/Marten.FSharp/Marten.FSharp.fs:line 898
at [email protected](Tuple`2 tupledArg) in /home/christian/Programming/Marten.FSharp/tests/Marten.FSharp.Tests/Tests.fs:line 513
at Tests.Pipe #1 input at line [email protected](a x)
at [email protected](DocumentStore _arg1) in /home/christian/Programming/Marten.FSharp/tests/Marten.FSharp.Tests/Tests.fs:line 129
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 508
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
--- End of stack trace from previous location ---
at Microsoft.FSharp.Control.AsyncResult`1.Commit() in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 453
at Microsoft.FSharp.Control.AsyncPrimitives.RunImmediate[a](CancellationToken cancellationToken, FSharpAsync`1 computation) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1153
at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1159
at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 1504
at Tests.testFixture'@151-1.Invoke(Unit unitVar0) in /home/christian/Programming/Marten.FSharp/tests/Marten.FSharp.Tests/Tests.fs:line 151
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 508
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 112
Metadata
Metadata
Assignees
Labels
No labels