Skip to content

Add key information to instance location when validating required fields of a schema #136

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

klundberg
Copy link

This adds the currently validating key to the instanceLocation JSONPointer when validating required fields in a schema. We need this since we want to find out which fields specifically are missing from the data we're looking to upload, so that we can show errors in the right place in our UI that corresponds with each required field.

This also fixes a deprecation warning when using swift 5.0 and above, and fixes a compiler issue where the library was using iOS 11 api without declaring iOS 11 as a minimum deployment target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant