Raqueebuddin Aziz
Explore posts from serversAarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
Thanks again
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
basically
Record<string, unknown>
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
is there a way to make sure somebody can only pass a schema that is object like
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
this worked in the end, greatly appreciate the help was stuck for hours on this
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
thanks I'll look into it
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
got it, thanks
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
or T directly
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
can I cast to
TSchema['infer']
is that what you mean?27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
removing the throw wrapper
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
the exclude comes from
throwOnParseError
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
basically createStore expects
object | undefined
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
and using type.Any<T> gives the following error
27 replies
Aarktype
•Created by Raqueebuddin Aziz on 3/1/2025 in #questions
Inference issues while trying to be generic over a type
using just
type.Any
fixes it but now it's inferred as any
which is not helpful27 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
makes sense
22 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
will try later to document ctx.reject but don't understand it myself enough XD, I think it's a discriminated union but the autocomplete doesn't help at all lol
22 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
created a PR, can also create accompanying issue if would help https://github.com/arktypeio/arktype/pull/1302
22 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
got it
22 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
is there an issue where doc stuff is assigned or tracked? so multiple people don't try to write docs for the same thing
22 replies
Aarktype
•Created by Raqueebuddin Aziz on 2/9/2025 in #questions
is there a way to have an async morph?
thanks
22 replies