CodingWithLuke
Explore posts from serversAarktype
•Created by CodingWithLuke on 2/28/2025 in #questions
Is there a good way to use an array of fields mapped from an object into array as string literals?
The above however seems to give:
'can_edit' is unresolvable
5 replies
Aarktype
•Created by CodingWithLuke on 2/28/2025 in #questions
Is there a good way to use an array of fields mapped from an object into array as string literals?
^ This seems to resolve type issues
5 replies
BABetter Auth
•Created by CodingWithLuke on 2/26/2025 in #bug-reports
Getting a 404 on useSession and unable to use Svelte Store
This is not a Sveltekit project. Purely on clientside.
5 replies
BABetter Auth
•Created by CodingWithLuke on 2/26/2025 in #bug-reports
Getting a 404 on useSession and unable to use Svelte Store
Well use-session is just a wrapped version of get session that is a store from my understanding.
5 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Yeah in this case it was fairly straight forward but good to know either way
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Sweet will keep that in mind.
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Cool makes sense
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Yeah thats got it
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Does it matter that technically _id is not actually a string but a morphed type?
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
In this case its one or the other. Its like a query that you can choose what you want to search with
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Cause I do a custom Arktype that does some pipe stuff. The error makes sense what it is saying though. Just not 100% sure best approach.
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
One issue may have with union:
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Agreed thanks for quick input
21 replies
Aarktype
•Created by CodingWithLuke on 2/26/2025 in #questions
How to choose "one of" in a type?
Yeah not a bad shout. Wasn't sure if there was a different way to do it. But that should work
21 replies
BABetter Auth
•Created by CodingWithLuke on 2/26/2025 in #help
How to return custom session with modified DB fields
Yeah was kinda hoping that they would use our keys we gave when configuring to then return that modified versions.
5 replies