Stadly
Stadly
Aarktype
Created by Stadly on 3/11/2025 in #questions
Validating Large JSON Schemas without high time/memory costs
Thanks. I've created two issues. Hopefully there is something to about them 🙂 https://github.com/arktypeio/arktype/issues/1371 https://github.com/arktypeio/arktype/issues/1370
7 replies
Aarktype
Created by Stadly on 3/11/2025 in #questions
Validating Large JSON Schemas without high time/memory costs
I find it very surprising that it takes so long. I got those results with just 10 more type aliases in addition to the accordion, button, and tabs from the example. Precompilation sounds great, but I guess that's not just around the corner? Do you have any other ideas? Is it the cyclicity that causes performance issues, or can it be something else? Would it help to split it up in some way? For example type everything that should be component as unknown to avoid the cyclic nature of the schema, and then create some custom parser that recursively goes through and validates every component?
7 replies
Aarktype
Created by Stadly on 3/7/2025 in #questions
Schemas with cyclic references
Wow! That's really clear and concise 🤩
4 replies