typewriter icon indicating copy to clipboard operation
typewriter copied to clipboard

iOS run-time JSON Schema validation

Open colinking opened this issue 6 years ago • 0 comments

In our JS clients, we have a peer dependency on ajv, which is used in development builds to apply JSON Schema validation at run-time.

In our iOS clients, we don't yet support this kind of run-time support. This means that we can't catch issues that cannot be represented by the Objective-C/Swift type system, such as regexes.

We'll need to evaluate available JSON Schema libraries and identify the best way to

There may be a better option for doing this dependency, in iOS land, via generating the client as a static library or a framework. However, we'll need to do some more digging there.

colinking avatar Nov 15 '19 20:11 colinking