-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #43208 [Serializer] Attributes that extend serializer`s annotatio…
…ns are not ignored by the serialization process (Alexander Onatskiy) This PR was merged into the 5.3 branch. Discussion ---------- [Serializer] Attributes that extend serializer`s annotations are not ignored by the serialization process | Q | A | ------------- | --- | Branch? | 5.3 for bug fixes | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix symfony/symfony#43207 | License | MIT | Doc PR | Commits ------- 3407c350e1 [Serializer] Attributes that extends the serializer`s annotations do not ignore by the serialization process
- Loading branch information
Showing
6 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Symfony\Component\Serializer\Tests\Fixtures; | ||
|
||
use Symfony\Component\Serializer\Annotation\Groups; | ||
|
||
/** | ||
* @Annotation | ||
* @Target({"PROPERTY", "METHOD"}) | ||
*/ | ||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] | ||
final class ChildOfGroupsAnnotationDummy extends Groups | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct(['d']); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters