-
Notifications
You must be signed in to change notification settings - Fork 28
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
Some general improvements / discussion #243
base: main
Are you sure you want to change the base?
Some general improvements / discussion #243
Conversation
fb75fca
to
e37cf56
Compare
e37cf56
to
acffbf1
Compare
Force pushed a fix for the Mypy issues and updated existing tests as well. |
Hi @cpaulik all good ideas here :) |
d988288
to
7c60300
Compare
Thanks. Tests should hopefully pass after the latest push. I forgot a |
I'll add tests for the |
This also adds a schema property to make sure the validation message references the overridden schema and not the original one
I've added another test for making sure references to sub-schemas also are replaced by the |
Hi @cpaulik. Looks really good. Just a couple of things. 1. An explanation and an example of a schema map, how to use them, to the readme. 2. An entry in the changelog, highlighting these changes. The changes would be added under the |
Thanks, I added both. Let me know if that is what you had in mind. |
I did just discover a small bug - stac-validator doesn't seem to validate extensions for collections if |
That was just a matter of not keeping all the |
I did just find another issue. It seems in I'll fix that as well. |
The last commit should fix recursive reporting of errors for collections. I do have a question about error reporting in the recursive case. At the moment in recursive mode we could print out 100s of messages that are valid which makes it hard to find the ones that actually cause the error. |
This adds three things
I'm happy to open separate MRs if one of the features is not wanted.
I'm also happy to add tests once we agree that a feature is going to be included.