New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add determines whether the subscriber parameter is interface instance #669
Comments
This is a basic knowledge, the data needs to be carried by the object instance not interface var obj = JsonConvert.DeserializeObject("[\"2020-01-01\"]", typeof(IEnumerable<DateTime>));
Console.WriteLine(obj.GetType()); // Output : System.Collections.Generic.List`1[System.DateTime] |
I think this is an item that can be improved. Do this by passing to check if the instance and interface match |
Fixed in v3.1.1 |
Facing exact same issue with last version. Frist 3 times in row (almost instantly) got
After some investigation i found that issue is when in my case I have
Should be to ekvivalent to something like this (i do not try it)
|
Use IEnumerable to publish to RabbitMQ, and then the consumer uses IEnumerable to receive and report the above exception.
The release is successful, but the consumer does not consume it. The cap.received table is recorded as Failed, and Retries is directly displayed as 3. After more than 4 minutes, consumption starts, and then the cap.received table record is changed to Succeeded.
Finally, replace IEnumerable with List. There is no such problem, no delay and no exception. What is the reason?
The text was updated successfully, but these errors were encountered: