Replies: 10 comments 7 replies
-
@SteveBush Let us have a look. Darker does not get enough love. We really do need more focus on it (contributions welcome). @holytshirt this is the issue with dynamic casting on Maui. |
Beta Was this translation helpful? Give feedback.
-
PS Overall, we need to review Brighter/Darker for AOT. We have been putting it off because we were short of specific use cases, but if we know we have one, such as Maui, we could move this work up a notch. |
Beta Was this translation helpful? Give feedback.
-
@iancooper I've been reluctant to make contributions as I have not been able to run the test suite in my development environment successfully. Here's my development environment and the changes I have made from the master branch.
The result is 290 of the 1210 tests fail, running in Visual Studio. If I run dotnet test from the command line, I get similar results. I feel like I'm missing some crucial development environment setup step. |
Beta Was this translation helpful? Give feedback.
-
Interesting. A good starting point is our GHA build: https://github.com/BrighterCommand/Darker/blob/master/.github/workflows/dotnet-core.yml. I am not on Visual Studio Enterprise (MacOS and Rider), but I'll ping this to the other contributors to see if any of them can replicate of help debug the issues |
Beta Was this translation helpful? Give feedback.
-
@iancooper What does your development environment look like? Maybe if I can replicate that. Also, my comments above were for Brighter, not Darker. |
Beta Was this translation helpful? Give feedback.
-
I will try and get a new release out for Darker asap |
Beta Was this translation helpful? Give feedback.
-
We used to publish the packages to GitHub packages. Not looked at it in a while. @holytshirt may remember if it still works after our transition to GHA |
Beta Was this translation helpful? Give feedback.
-
Brighter publishes all packages to the github package feed
https://github.com/BrighterCommand/Brighter/pkgs/nuget/Paramore.Brighter
There is an issue with packages on Darker I'll try have a look. I'm running
off a 4G on my phone in the middle of no where in australia
…On Mon, 14 Apr 2025 at 01:07, Ian Cooper ***@***.***> wrote:
We used to publish the packages to GitHub packages. Not looked at it in a
while. @holytshirt <https://github.com/holytshirt> may remember if it
still works after our transition to GHA
—
Reply to this email directly, view it on GitHub
<#3575 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWAFF2Z4WKK5FK4I47VS32ZKKT3AVCNFSM6AAAAAB2IHI2OKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBSGEYDCNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
@holytshirt No worries, we can sort it out later. However, the GitHub packages feed on the right-hand side of the web page suggests that it is very out-of-date. So, I don't know if we stopped publishing there when we switched to GHA. |
Beta Was this translation helpful? Give feedback.
-
@holytshirt No rush, it can wait. Enjoy Australia. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been using Brighter for Commands and Events and Darker for queries. Unfortunately, I've run into a blocking bug in Darker. The Darker query pipeline builder casts to (dynamic) to move between types, while the Brighter command pipeline does not. .Net MAUI uses Ahead-Of-Time (AOT) compilation on IOS as Apple doesn't support code generation at runtime due to security concerns. System.Platform.Emit, which is used by the dynamic cast, is not supported.
So, I'm asking for advice on whether to continue down the Darker path (pun intended) or add my own layer over Brighter classes to emulate Darker features.
Beta Was this translation helpful? Give feedback.
All reactions