Arkobat
Arkobat
CC#
Created by Arkobat on 10/23/2023 in #help
❔ EF Core not getting all entities
The querry is directly copied from sql.ToQueryString(), and run directly MySQL database EF Core is connectd to 😐
5 replies
CC#
Created by Arkobat on 7/16/2023 in #help
βœ… Serializing a dictonary without path in root object
Thanks, exactly was I was looking for!
2 replies
CC#
Created by Arkobat on 11/21/2022 in #help
❔ Callback consumer to async Task
Yeah, this seems to be exactly what I’m looking for. ThanksπŸ™πŸΌ
7 replies
CC#
Created by Arkobat on 8/15/2022 in #help
Custom JSON serializer not working
So, I hav removed Newtonsoft from my project, and is now using Sytem.Text everywhere. However, I still see the same problem. I have updated my code examples to show what I do.
7 replies
CC#
Created by Arkobat on 8/15/2022 in #help
Custom JSON serializer not working
Ohh, didn't realise they were called the same... I can see its using System.text 😦
7 replies
CC#
Created by Arkobat on 8/14/2022 in #help
Deserialize wrapper object in route
Thanks for the help!
11 replies
CC#
Created by Arkobat on 8/14/2022 in #help
Deserialize wrapper object in route
Ahh... I found the fix, thanks to you! The issue was not spacing, but that my parameter was also named id
[HttpGet("{id}")]
public async Task<MyDTO> GetSomething(ExternalId id)
[HttpGet("{id}")]
public async Task<MyDTO> GetSomething(ExternalId id)
To fix this, I have to rename my outer id to something else
[HttpGet("{id}")]
public async Task<MyDTO> GetSomething(ExternalId externalId)
[HttpGet("{id}")]
public async Task<MyDTO> GetSomething(ExternalId externalId)
11 replies
CC#
Created by Arkobat on 8/14/2022 in #help
Deserialize wrapper object in route
11 replies
CC#
Created by Arkobat on 8/14/2022 in #help
Deserialize wrapper object in route
I do have a no args construtor, just removed it to keep the code simpel. However, the id is just a ExternalId, with the inner string being null
11 replies