Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS run-time JSON Schema validation #96

Open
colinking opened this issue Nov 15, 2019 · 0 comments
Open

iOS run-time JSON Schema validation #96

colinking opened this issue Nov 15, 2019 · 0 comments
Labels
analytics-ios Issues related to analytics-ios clients feature-request New feature or request

Comments

@colinking
Copy link
Contributor

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 colinking added feature-request New feature or request analytics-ios Issues related to analytics-ios clients labels Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analytics-ios Issues related to analytics-ios clients feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant