dan in a can
Database Design
You can use a default value for the column https://www.postgresql.org/docs/current/ddl-default.html
3 replies
✅ Lists is the same index all the time.
you're incrementing your index but never calling the method
currentHouseIndex()
, also in that method you're setting a local variable to 0 (different from your class-level currentHouseIndex
) so the condition will always be false in that41 replies
✅ Lists is the same index all the time.
break
will exit a foreach
loop early, so every time your loops run, they just do the first iteration and then stop. It should work as you expect if you take the break
s out
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/jump-statements#the-break-statement41 replies
CatAPI Json deserialization issue.
yeah use
GetFromJsonAsync
https://learn.microsoft.com/en-us/dotnet/api/system.net.http.json.httpclientjsonextensions.getfromjsonasync?view=net-7.010 replies