Skip to content

[FrameworkBundle][Lock] Allow to disable lock without defining a resource #48119

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

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

MatTheCat
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

While answering #48115 I noticed a resource is mandatory in lock’s configuration even if it’s disabled because of requiresAtLeastOneElement. I replaced it with a validation rule which takes enabled into account.

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "6.2" but it seems your PR description refers to branch "4.4".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@MatTheCat MatTheCat changed the base branch from 6.2 to 4.4 November 5, 2022 15:34
@nicolas-grekas nicolas-grekas modified the milestones: 6.2, 4.4 Nov 5, 2022
@nicolas-grekas
Copy link
Member

Good catch, thanks @MatTheCat.

@nicolas-grekas nicolas-grekas merged commit 5548611 into symfony:4.4 Nov 5, 2022
@MatTheCat MatTheCat deleted the disable_lock branch November 5, 2022 17:06
@fabpot fabpot mentioned this pull request Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants