-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] split off an EncoderInterface and NormalizerInterface from SerializerInte #2530
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
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b0daf35
split off an EncoderInterface and NormalizerInterface from Serializer…
lsmith77 58bd0f5
refactored the EncoderInterface
lsmith77 f8e2787
refactored Normalizer interfaces
lsmith77 d021dc8
refactored encoder handling to use the supports*() methods to determi…
lsmith77 2a6741c
typo fix
lsmith77 c3a711d
abstract class children should also implement dernormalization
lsmith77 078f7f3
more typo fixes
lsmith77 c3d6123
re-added supports(de)normalization()
lsmith77 351eaa8
require a (de)normalizer inside the (de)normalizable interfaces inste…
lsmith77 d811e29
CS fix
lsmith77 067242d
updated serializer tests to use the new interfaces
lsmith77 967531f
fixed various typos from the refactoring
lsmith77 cb495fd
added additional unit tests for deserialization
lsmith77 97389fa
use Serializer specific RuntimeException
lsmith77 72b9083
SerializerAwareNormalizer now only implements SerializerAwareInterface
lsmith77 0776b50
removed supports(De)Serializiation()
lsmith77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
abstract class children should also implement dernormalization
- Loading branch information
commit c3a711d3f21fd4faa4b0ff7bccf27f92cf39ff2b
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one should only implement
SerializerAwareInterface
IMO as it only defines method for this one. This would allow using it for a serializer-aware normalizer which is not a denormalizer (and the opposite)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right .. fixed.