-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bug after update to 3.0.0-preview.25 ? #146
Comments
Any other diagnostics reported? The source generator should emit something if it crashes |
after update Mediator.g.cs is deleted return in 3.0.0-preview.24 Mediator.g.cs generate again |
|
Same build error with both .25 and just now after pulling .26. VS just hangs. Microsoft Visual Studio Professional 2022 (64-bit) - Preview
That's from a DIFF but you get the point. :) |
Strange! Just to double check, you were referencing I just tried to upgrade some more apps, no issues.. Must be something about the configuration. Could you tell me more about environment and Mediator configuration?
|
35>CSC: Error MSG0000 : MediatorGenerator got unknown error while generating mediator implementation, please report this to the issue tracker on github at https://github.com/martinothamar/Mediator/issues/new . Error: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Comparison |
Great, that should do it, thank you! Will report back when it's fixed |
I was using .25 and it didn't build, then moved to .26 after I saw you roll that out but still the same result. The code is from my GIT DIFF so that's why it showed both.
OS - running on a windows hot but targeting docker for Linux.
.Net 8
Scoped service lifetime
Thx,
-BC
…________________________________
From: Martin Othamar ***@***.***>
Sent: Monday, April 8, 2024 2:36 PM
To: martinothamar/Mediator ***@***.***>
Cc: Brendan Carroll ***@***.***>; Comment ***@***.***>
Subject: [External Email] Re: [martinothamar/Mediator] Bug after update to 3.0.0-preview.25 ? (Issue #146)
***From ***@***.*** 410-316-7820 *** This is an External Email from outside of KCI.***
________________________________
Strange! Just to double check, you were referencing 3.0.0-preview.26 for both packages right? Because one of the references above is 25, and I wouldn't expect that kind of difference from the change I made..
I just tried to upgrade some more apps, no issues.. Must be something about the configuration. Could you tell me more about environment and Mediator configuration?
* OS
* .NET version (SDK and tfm)
* AddMediator or the options attribute for configuration?
* Which ServiceLifetime and have you configured a different namespace?
—
Reply to this email directly, view it on GitHub<#146 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAZFIM4KWHO4XPSQKCJQ73TY4LPTHAVCNFSM6AAAAABF4FDKGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGQZDCMJWHE>.
You are receiving this because you commented.
|
Use 26 , not 25 |
I wasn't able to reproduce the exact error, but the comparer I had implemented was buggy for sure... #147 preview 27 should be out in a couple of minutes |
That fixed it. Thanks,
Brendan
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Martin Othamar ***@***.***>
Sent: Monday, April 8, 2024 3:55:46 PM
To: martinothamar/Mediator ***@***.***>
Cc: Brendan Carroll ***@***.***>; Comment ***@***.***>
Subject: [External Email] Re: [martinothamar/Mediator] Bug after update to 3.0.0-preview.25 ? (Issue #146)
***From ***@***.*** 410-316-7820 *** This is an External Email from outside of KCI.***
________________________________
I wasn't able to reproduce the exact error, but the comparer I had implemented was buggy for sure... #147<#147>
preview 27 should be out in a couple of minutes
—
Reply to this email directly, view it on GitHub<#146 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAZFIM4TSAE6IVNJYBWKL7TY4LY4FAVCNFSM6AAAAABF4FDKGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGUZTMNZWHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
27 is fixed error |
Great, thanks! |
I can confirm that Preview 27 works great so far! Thank you! |
Reporting back after a couple months that the notification publisher feature is still working great with no issues (v3.0.0-preview.27). I'm using TaskWhenAllPublisher to dispatch various Discord bot events in prod. At one point, I had a custom notification publisher and that also worked without any issues. 😁 |
after update from 3.0.0-preview.24 to 3.0.0-preview.25 for net6.0
I have error in rider and gitlab ci :
error CS1061: 'IServiceCollection' does not contain a definition for 'AddMediator' and no accessible extension method 'AddMediator' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
The text was updated successfully, but these errors were encountered: