Skip to content
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

Callback validation #7

Merged
merged 2 commits into from
Nov 6, 2019

Conversation

digilist
Copy link
Contributor

Reopening my PR to implement callback validation from the previous repository here again.

fixes #3

src/PSR7/CallbackRequestValidator.php Outdated Show resolved Hide resolved
@digilist digilist force-pushed the 52-callback-validation branch from 5e7da22 to 5c5359e Compare October 9, 2019 14:26
@digilist digilist requested a review from scaytrase October 9, 2019 14:32
Copy link
Member

@scaytrase scaytrase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for long review, I'm pretty new to callbacks in schema, so I have to take several iterations to dig it.

In general it looks good to me, but few more improvements required. I see some incoming drawbacks In SpecFinder usages, but this is not your problem and could be refactored later some day

src/PSR7/SpecFinder.php Show resolved Hide resolved
src/PSR7/SpecFinder.php Show resolved Hide resolved
src/PSR7/SpecFinder.php Outdated Show resolved Hide resolved
@digilist digilist force-pushed the 52-callback-validation branch from 5c5359e to 0fb47c6 Compare November 6, 2019 08:46
@digilist digilist force-pushed the 52-callback-validation branch from 0fb47c6 to 4b08e9d Compare November 6, 2019 08:53
Copy link
Member

@scaytrase scaytrase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@scaytrase scaytrase merged commit d7e6c9c into thephpleague:master Nov 6, 2019
@digilist
Copy link
Contributor Author

digilist commented Nov 6, 2019

Thank you for your review and merging it! 😊

@scaytrase
Copy link
Member

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.

Validation of callbacks
2 participants