Skip to content

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

Open
klundberg wants to merge 2 commits intokylef:masterfrom
StarryInternet:master
Open

Add key information to instance location when validating required fields of a schema#136
klundberg wants to merge 2 commits intokylef:masterfrom
StarryInternet:master

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