Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

clarify unimplemented RequestContext metadata #180

Merged

Conversation

pettermahlen
Copy link
Member

Previously, if users upgrading do not notice that there is a new
RequestContext.metadata() method, their code will start failing
in strange ways (requests timing out was the concrete example)
because of the values supplied by the default implementation. It's
a better solution to throw an exception, forcing implementations
to actually override this method.

Previously, if users upgrading do not notice that there is a new
RequestContext.metadata() method, their code will start failing
in strange ways (requests timing out was the concrete example)
because of the values supplied by the default implementation. It's
a better solution to throw an exception, forcing implementations
to actually override this method.
@jwiklund
Copy link
Contributor

👍

@pettermahlen pettermahlen merged commit 5518f38 into spotify:1.x Nov 16, 2016
@pettermahlen pettermahlen deleted the clarify-unimplemented-metadata branch November 16, 2016 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants