-
Notifications
You must be signed in to change notification settings - Fork 42
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
Not so quick fix to allow "/" at end of validator URL, plus fixes and tests for --as_type #267
Conversation
Annoyingly missed this from the last PR... sorry @CasperWA! |
Codecov Report
@@ Coverage Diff @@
## master #267 +/- ##
==========================================
+ Coverage 89.15% 89.92% +0.77%
==========================================
Files 54 54
Lines 2241 2244 +3
==========================================
+ Hits 1998 2018 +20
+ Misses 243 226 -17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I wasn't thorough enough... I'll be even MORE nitpicky now then ! 😆
No but seriously, while
is nicer ... 😅
…nt :P Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>
👍 We can just squash away my sarcastic commit message :P |
Oh no! What about |
I don't think we allow this at the moment right? You can only validate endpoints with multi-entry response types, not individual entries with the entry type |
That's okay then. |
It looks like this has messed something else up though, don't merge this yet... |
The |
6bbfd50
to
ce36eb0
Compare
Seems reasonable. |
Also turns out we definitely do allow single entry response validation, I am talking so much rubbish today... |
Yeah the whole reason for this initially was to validate nomad with their |
Hehe. You need to go get a beer and a sleep 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look's good!
A couple of questions/comments :)
Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for not so quick quick-fix @ml-evs ! 😄
Handles an edge case that got lost in the last PR, i.e. handling slashes at the end of the URL provided at the CLI.