Stanard Schema issues conformance
Hello! As I've been playing with Tanstack Start, it seems that there's an issue with how Arktype handles issues.
Standard Schema defines, that issues should look like this:
However, arktype puts it's own errors in the issues, that do not conform to the above interfaces. It's troubling as serialization with
Of course, validation was performed by invoking
CC: @Manuel Schiller
Standard Schema defines, that issues should look like this:
However, arktype puts it's own errors in the issues, that do not conform to the above interfaces. It's troubling as serialization with
JSON.stringify fails, as the ArkError seems to have circular reference to itself.Of course, validation was performed by invoking
schema['~standard'].validate(value).CC: @Manuel Schiller
