Luca Schultz
Luca Schultz
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
Thanks, I'll check it out
65 replies
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
Hey guys, I appreciate the quick turnaround, but I'm a bit confused. Do you need me to open a bug report on the Arktype repository? @ssalbdivad you mentioned that:
if anything it should be opened as a bug on the TS repository anyways.
is that still the case? Also is there a good workaround I can use?
65 replies
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
I just naively removed the NoInfer from instantiateType (locally in the .d.ts) and that seems to work 👀 Nope it doesn't, fake news sorry 😌
65 replies
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
Type<T> replaced by Type<unknown>
65 replies
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
No description
65 replies
Aarktype
Created by Luca Schultz on 1/24/2025 in #questions
How to build generic functions that use ArkType schemas?
65 replies
Aarktype
Created by Luca Schultz on 8/16/2024 in #questions
Is it possible to extract a "subtype"?
Ah, I upgraded to "2.0.0-beta.5" and now it works! Thank you!
11 replies
Aarktype
Created by Luca Schultz on 8/16/2024 in #questions
Is it possible to extract a "subtype"?
No description
11 replies
Aarktype
Created by Luca Schultz on 8/16/2024 in #questions
Is it possible to extract a "subtype"?
Ah, I probably should have added that I don't control the scope. It is generated using https://github.com/astahmer/typed-openapi
11 replies