Iterate over schema
Hello, I'm trying to create dynamic forms that would use ArkType to dynamically generate correct input type, but somehow I cannot find any good way to iterate over the schema. I've tried few things, and the only one that works is accessing
Basically what I'm looking for is for a way to turn some schema
Into some representation that I can use to render components dynamically like
Am I missing something? I've tried to look for solutions on the web, discord and LLMs but didn't find anything useful
schema.json.required which is not even part of TS type of JSON (it just exists at runtime). Is there any easier way? Basically what I'm looking for is for a way to turn some schema
Into some representation that I can use to render components dynamically like
Am I missing something? I've tried to look for solutions on the web, discord and LLMs but didn't find anything useful