Closed abacaphiliac closed 7 years ago
this is preliminary work. i need to update documentation.
@oscarotero thanks for the review! i've added a new commit to require $next. this enforcement allowed me to remove two branches in the validator middlewares.
i still need to add documentation, and when this is all done i will squash the commits. how does the latest change set look?
@oscarotero updated docs. i think my change set is stable, unless you have some other feedback.
let me know if the changes to the json-schema test make you nervous. i can split this request. i noticed that there were some false positives, and i had forgotten to update the test's assoc config after we renamed it : /
Thanks for the improvements - really appreciate them.
@sbol-coolblue no problem! i really appreciate the feedback. my builds are failing right now because of some issue with the composer dependency versions. i'll get it working and then we can all discuss. also, i still need to update the error handler. i haven't forgotten.
@sbol-coolblue @oscarotero i made some changes based on your feedback last week. the build failed because a composer dependency was not able to be installed. see the build output: https://travis-ci.org/abacaphiliac/psr7-middlewares/builds/175723278
i was able to resolve by changing "nikic/fast-route": "0.*"
to "nikic/fast-route": "^0.7"
, so i think something happened recently with nikic/fast-route
or with league/route
. if you're interested, i will submit the version change in a separate pull.
i'll also update the error handler this week : )
Running into the same issue. I'll create a PR for the fast-route change.
Oops!! I've merged this by mistake. Can you create a new pull request for the remaining things? (the error handler and that stuff) Sorry :(
@oscarotero you got click-happy! yes it's not a problem at all. i think the error-handler changes can be done in a compatible fashion. do you mind holding off on the tag until i can complete this work? would take the pressure off of me haha.
Don't worry. I have not planned a new release in this week, there are still some things to do. Thanks
no problem. i'll start working on it tonight. do you have a documented release schedule?
No really, but I'd like to close other issues like https://github.com/oscarotero/psr7-middlewares/issues/50 before tagging
split a simpler json-schema validator from the multi-validator. the simple validator handles a single schema and there is no route-based logic. the file-per-route implementation consumes the simple validator.