8000 [FrameworkBundle][Serializer] Add an ArgumentResolver to deserialize & validate user input by GaryPEGEOT · Pull Request #45628 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle][Serializer] Add an ArgumentResolver to deserialize & validate user input #45628

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

Closed
wants to merge 13 commits into from
Closed
Prev Previous commit
Next Next commit
fix: tests & update changelog
  • Loading branch information
GaryPEGEOT committed Mar 9, 2022
commit 30126145406299b4fa44554948271b0b68cb0e7b
1 change: 1 addition & 0 deletions src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CHANGELOG
* Load PHP configuration files by default in the `MicroKernelTrait`
* Add `cache:pool:invalidate-tags` command
* Add `xliff` support in addition to `xlf` for `XliffFileDumper`
* Add an ArgumentResolver to deserialize & validate user input
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the specific class(es) added?

This changelog belongs to the Serializer component now, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have to move that 😅


6.0
---
Expand Down 9417
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testExceptionHandling(\Throwable $e, ?string $expected)
$this->assertFalse($event->hasResponse(), 'Unexpected response');
} else {
$this->assertTrue($event->hasResponse(), 'Expected a response');
$this->assertStringContainsString($event->getResponse()->getContent(), $expected);
$this->assertStringContainsString($expected, $event->getResponse()->getContent());
}
}

Expand Down
0