Performance comparison to Zod for piped string
const zodTest = z.string().trim().toLowerCase().email().startsWith("info");
And for ArkType I've got const arkTest = type("string.trim |> string.lower |> string.email & /^info/");
...
does arktype understand "minimum 0 but not -0"?
.nonnegative
it will still accept negative zero. would the same happen with AT?
.onUndeclaredKey("delete") is breaking mongodbs _id field

How can "string" type be not empty?
Passing a name for a primitive value?
Can't infer type of schema when using "scope"
schema key alias
Custom message to formSchema in TanTack Form Standard Schema
How can define this type with arktype?
Pipe generic types
Can the output of `.json` be used to construct an arktype schema?
Add property to object based on its data
Attribute 1 name
and Attribute 1 value
, and so on for 2, 3, 4...
On the output object, I'd like to make a Record where the name is the key, and it points to an object based on the attribute data (name and value in this case).
So if the product type is (simplified):...customize errors
validating 0x prefixed hex
0x<hex>
in typescript...
``ts
type Address =
0x${string}`...No validation of field until schema is complete ?
type
field. I think I have found a way to express this in Arktype, but the validation doesn't seem to work as intended.
Here is a minimal way to reproduce:...Unsatisfiable type
Intersection of { client_id: string, code: string, grant_type: "authorization_code", redirect_uri: (In: string ) => Out<URL>, + (undeclared): delete } and { client_secret: string, code_verifier?: never, + (undeclared): delete } | { code_verifier: string, client_secret?: never, + (undeclared): delete } results in an unsatisfiable type
. I've tested it in the playground and it works, but not in my code and I can't figure out why.
```ts
const secretOrVerifier = type(
{...Type '"DateValue | undefined"' is not assignable to type '"'DateValue' is unresolvableโ"'.ts(2322)

Can the JSON Schema be typed automatically?
question about arktype => TS
Generic minimum and maximum