-
Notifications
You must be signed in to change notification settings - Fork 630
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
Have addEncoder
/addDecoder
skip if handler already exist, like legacy addHandler
#46
Labels
Milestone
Comments
simonbasle
added a commit
that referenced
this issue
Feb 16, 2017
simonbasle
added a commit
that referenced
this issue
Feb 17, 2017
simonbasle
added a commit
that referenced
this issue
Feb 17, 2017
simonbasle
added a commit
that referenced
this issue
Feb 17, 2017
This doesn't completely fix the issue as addHandler old behavior would ignore the extractor and having an extractor breaks JsonObjectDecoder...
simonbasle
added a commit
that referenced
this issue
Feb 20, 2017
This doesn't completely fix the issue as addHandler old behavior would ignore the extractor and having an extractor breaks JsonObjectDecoder...
simonbasle
added a commit
that referenced
this issue
Feb 20, 2017
simonbasle
added a commit
that referenced
this issue
Feb 20, 2017
simonbasle
added a commit
that referenced
this issue
Feb 20, 2017
simonbasle
added a commit
that referenced
this issue
Feb 20, 2017
This is still not 100% equivalent to addHandler, which wouldn't add an extractor... See #49 for a problem with the extractor.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
addHandler
used to check if there was an existing handler with the provided name, and skip the addition of the new handler if that was the case.Since the move to
addEncoder
/addDecoder
, this is no longer the case.This should be fixed, for a minimum consistency with the previous API (even though the methods don't add at the same position as before).
Note that this is the inverse of #22 which would introduce a way of replacing instead of skipping.
The text was updated successfully, but these errors were encountered: