Heya, any plans to continue work on Diamond?
After trying to get Diamond to work for a few hours now with a few friendly folks in the Discord, we've failed to do so.
Trying to run the examples on 3.0.0 results in errors such as
authentication-custom ~master: building configuration "application"...
..\..\..\..\..\AppData\Local\dub\packages\diamond-3.0.0\diamond\core\webinitialization.d-mixin-115(118,35): Error: `"login|login.dd"` is not a valid filename on this platform
..\..\..\..\..\AppData\Local\dub\packages\diamond-3.0.0\diamond\core\webinitialization.d-mixin-115(118,35): Character `'|'` is reserved and cannot be used
..\..\..\..\..\AppData\Local\dub\packages\diamond-3.0.0\diamond\views\viewgenerator.d(40,7): Error: mixin `diamond.app.web.GenerateViews!().generateViews.LoadViewData!false` error instantiating
..\..\..\..\..\AppData\Local\dub\packages\diamond-3.0.0\diamond\app\web.d(190,5): Error: mixin `diamond.app.web.GenerateViews!()` error instantiating
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
I had thought perhaps downgrading a version at a time would work. No dice. Errors produced are then
authentication-custom ~master: building configuration "application"...
controllers\authcontroller.d(22,8): Error: undefined identifier `HttpClient`
controllers\authcontroller.d(36,8): Error: undefined identifier `HttpClient`
controllers\authcontroller.d(43,7): Error: undefined identifier `IControllerAuth`
controllers\authcontroller.d(46,14): Error: undefined identifier `AuthStatus`
controllers\authcontroller.d(46,14): Error: undefined identifier `HttpClient`
controllers\authcontroller.d(55,8): Error: undefined identifier `AuthStatus`
controllers\authcontroller.d(67,2): Error: undefined identifier `HttpAuthentication`
controllers\authcontroller.d(67,51): Error: undefined identifier `ApiController`
controllers\authcontroller.d(71,3): Error: undefined identifier `HttpClient`
controllers\authcontroller.d(76,4): Error: undefined identifier `HttpDisableAuth`
controllers\authcontroller.d(76,21): Error: undefined identifier `HttpAction`
controllers\authcontroller.d(76,49): Error: undefined identifier `Status`
controllers\authcontroller.d(93,4): Error: undefined identifier `HttpDisableAuth`
controllers\authcontroller.d(93,21): Error: undefined identifier `HttpAction`
controllers\authcontroller.d(93,49): Error: undefined identifier `Status`
core\websettings.d(5,9): Error: undefined identifier `WebSettings`
..\..\..\..\..\AppData\Local\dub\packages\diamond-2.9.3\diamond\http\remote.d(20,6): Error: undefined identifier `HttpMethod`
core\websettings.d(17,17): Error: function `websettings.Settings.onApplicationStart` does not override any function
core\websettings.d(21,17): Error: undefined identifier `HttpClient`
core\websettings.d(26,17): Error: undefined identifier `HttpClient`
It's a real shame as Diamond looks to be exactly what we need. The documentation seems a bit sparse and the site's also not online.
Any update? Thanks!
Sorry for the late answer, haven't had access to my github account until now.
If it isn't too late, could you perhaps zip the project you tried to get working.
Just so I can investigate the errors locally as I can't reproduce it with what I have.
So sorry for the late reply on my end.
I'll give it another go and zip the project up with a link here, @bausshf.