nobody
nobody
Explore posts from servers
CC#
Created by nobody on 6/21/2023 in #help
❔ Why does the JsonSerializer.Deserialize return a nullable object
ah I see, makes sense - thank you guys
6 replies
CC#
Created by nobody on 6/8/2023 in #help
❔ Source generator for creating REST Api
Thank you very much @davidwengier ! You are probably right that a source generator would not be a good fit, the api has to be re-compiled "non-stop" and the underlying database would only change pretty infrequently at some point. I'll probably go with a standalone tool which may be part of a CI pipeline
10 replies
CC#
Created by nobody on 11/14/2022 in #help
Named tuple on delegate return type [Answered]
Thanks lul, sometimes it can be that easy
5 replies
CC#
Created by nobody on 10/27/2022 in #help
Source Generator only annotate method instead of class
That's awsome! Gotta love the source gens they make your life so much easier in larger apps
20 replies
CC#
Created by nobody on 10/27/2022 in #help
Source Generator only annotate method instead of class
I am using the latest VS2022, so thats fine :P
20 replies
CC#
Created by nobody on 10/27/2022 in #help
Source Generator only annotate method instead of class
Ah got it, I've noticed that the code always gets regenerated even if nothing changed.. is some kind of memoization possible to implement?
20 replies
CC#
Created by nobody on 10/27/2022 in #help
Source Generator only annotate method instead of class
Alright I'll give it a shot - thank you very very much for the quick explanation, I didn't even know about the existence of incremental source generators
20 replies
CC#
Created by nobody on 10/27/2022 in #help
Source Generator only annotate method instead of class
yes I wanna look up for methods annotated with [CustomAttribute]
20 replies
CC#
Created by nobody on 9/29/2022 in #help
How to use .NET 7 preview?
thank you
11 replies
CC#
Created by nobody on 9/29/2022 in #help
How to use .NET 7 preview?
Oh, maybe they did rename it - at least I hope so because the feature looks kinda nice
11 replies
CC#
Created by nobody on 9/29/2022 in #help
How to use .NET 7 preview?
But the IRouteHandlerFilter hasn't been packed within the rc1, at least I can't find it there
11 replies
CC#
Created by nobody on 9/29/2022 in #help
How to use .NET 7 preview?
but I should be able to test some new features of the preview versions?
11 replies
CC#
Created by nobody on 9/28/2022 in #help
Generics and type inference
True in comparsion, but its fine C# has some nice features too like record types which I've just learned about. I'm starting to try build up a github profile with some showcases thats why I try to learn different techs (webAPI in the C# case)
14 replies
CC#
Created by nobody on 9/28/2022 in #help
Generics and type inference
Yeah its from my experiences with C++ templates and especially Haskell I just like working with strong typesystems. btw thats why Rust is simply awesome imho
14 replies
CC#
Created by nobody on 9/28/2022 in #help
Generics and type inference
@thinker227 I did most of my work with python/c++ and recently very much with Haskell (loving it) - whats your main language?
14 replies
CC#
Created by nobody on 9/28/2022 in #help
Generics and type inference
Oh that sucks I love using generics to simplify code, anyway thank you for your quick help!
14 replies