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

Allow multiple executions of validate() (#672) #676

Merged

Conversation

StefanoPetrilli
Copy link
Contributor

@StefanoPetrilli StefanoPetrilli commented Jul 1, 2023

#672
I separated the different validate() responsibilities into other functions. It's now possible to execute validate() multiple times as it only performs validation.

Is this proposed solution all right? If so I will proceed with writing the tests.

@StefanoPetrilli StefanoPetrilli force-pushed the allow_multiple_executions_of_validate branch 2 times, most recently from 1c93a4a to 5ab72ed Compare July 4, 2023 21:55
@StefanoPetrilli StefanoPetrilli marked this pull request as ready for review July 5, 2023 21:12
include/crow/app.h Outdated Show resolved Hide resolved
@cschreib
Copy link
Contributor

Looks good to me. NB, I'm not a maintainer so I can't actually approve the PR for merging. But from my point of view, this would indeed fix #672.

@gittiver
Copy link
Member

it seems a rebase onto master is needed.

@gittiver gittiver added the need_rebase PR needs rebase on master branch label Jan 29, 2024
@StefanoPetrilli StefanoPetrilli force-pushed the allow_multiple_executions_of_validate branch from 2f7e943 to 46ab30d Compare February 7, 2024 16:08
@StefanoPetrilli
Copy link
Contributor Author

@gittiver I rebased this on master 👍

@gittiver gittiver removed the need_rebase PR needs rebase on master branch label Feb 7, 2024
@gittiver gittiver requested review from mrozigor, dranikpg, The-EDev and luca-schlecker and removed request for cschreib February 7, 2024 19:53
@gittiver gittiver linked an issue Feb 7, 2024 that may be closed by this pull request
@gittiver
Copy link
Member

gittiver commented Feb 7, 2024

thx, all checks passing, requested review by other team members.

@gittiver gittiver added feature Code based project improvement bug Something isn't working labels Feb 21, 2024
@gittiver gittiver merged commit db059ce into CrowCpp:master Mar 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature Code based project improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflicting routes are only detected in validate() or run()
4 participants