Comments (13)
Hi!
Thanks for getting in touch, i am working on this issue now and will keep you updated
Regards
Eddy
from mediator.net.
Hi
Just wrote a test case and did not manage to reproduce the problem, can you please advice which instance is actually null
?
Here is my test case
The handler
and the result is in here
https://ci.appveyor.com/project/mayuanyang/mediator-net
from mediator.net.
sorry for a delayed response. Let me have a look at the test case you mentioned.
from mediator.net.
I need to share some private code with you for the same. Queries if made async it just errors out that Response is null.
from mediator.net.
Sure thing
, how would you like to send?
from mediator.net.
can't do it on github? how about skype? i don't know if it's okay to share it here. or any other way that you think would work
from mediator.net.
Email would work for me [email protected]
from mediator.net.
Same problem for me.
I share a solution (net Core 3.0) to reproduce the problem
Mediator.zip
The problem seems to be in the RequestPipe.cs, ConnectToHandler(), line 64
task.GetType().GetTypeInfo().GetDeclaredProperty("Result")
it returns null
from mediator.net.
Sorry, it seems already fixed with 3.0.0 dev20
from mediator.net.
Is there any update for the async handlers for queries?
from mediator.net.
Hi @Mercedex
Sorry for being late, was extremely busy, however i managed to get some time and write some tests, the tests seems working fine for me, you might interest on the following files
-
The handlers being used for the tests
https://github.com/mayuanyang/Mediator.Net/blob/inheritanceTest/src/Mediator.Net.TestUtil/Handlers/CommandHandlers/InheritanceBaseCommandHandler.cs
https://github.com/mayuanyang/Mediator.Net/blob/inheritanceTest/src/Mediator.Net.TestUtil/Handlers/RequestHandlers/InheritanceBaseRequestHandler.cs
Can you please have a look and check if i missed anything, also please note that the tests were written against the 3.0.0-dev in case if you are using 2.x.x
Regards
Eddy
from mediator.net.
Sure, I would do that.
Busy working on another large scale system and planning on using your implementation for that also.
Is it possible that I can have submit fixes, if any to you and you can add them after verifying?
from mediator.net.
For sure, you are very welcome to do so :)
from mediator.net.
Related Issues (19)
- Another MediatR? HOT 4
- Registering handlers that handles multiple messages HOT 6
- Few questions about Mediator.NET HOT 1
- Can be used in console program
- can not track stack in pipeline HOT 1
- async/await broken in ASP.NET projects HOT 3
- resolve mediator without new life time scope
- Request response result can be handled by middleware
- Support multiple responses from single IRequest or ICommand
- Support github action
- IPipeSpecification AfterExecute能否支持修改TContext的Result的实体 HOT 1
- Upgrade newton json
- dll nuget not signet HOT 2
- How Can I use ValueType(int,double) in IRequestHandler HOT 1
- Message inheritance problem
- Incorrect exception being thrown when OnException in middleware is async
- Old project with owin bug should be removed
- Update dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediator.net.