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

Revert messenger=persist and introduce a ResumableDataPersisterInterface #3912

Merged
merged 3 commits into from Dec 19, 2020

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Dec 17, 2020

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tickets na
License MIT
Doc PR tbd

See also #3617

@soyuka soyuka force-pushed the fix/messenger-persist branch 2 times, most recently from bb0a025 to d92f134 Compare December 17, 2020 15:29
if (!$match && $persister->supports($data, $context)) {
$match = $persister;
$this->persistersResponse[\get_class($persister)] = true;
if (($this->persistersResponse[\get_class($persister)] = $found ? false : $persister->supports($data)) && !($persister instanceof ResumableDataPersisterInterface && $persister->resumable()) && !$found) {
Copy link
Contributor

Choose a reason for hiding this comment

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

For readability, could you split this condition in multilines?

@soyuka soyuka merged commit 126e65d into api-platform:master Dec 19, 2020
@soyuka soyuka deleted the fix/messenger-persist branch December 19, 2020 08:58
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.

None yet

2 participants