forked from Netflix/pollyjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Adapter & Persister backwards compatible for implementors
The replacement of the static `name` getter for `Adapter` and `Persister` in Netflix#310 broke custom implementations of these classes because `id` needed to be overridden. To retain backwards compatibility we remove the requirement for `id` to be overridden. Instead we delegate to `name` by default. This does not affect the in-tree implementations.
- Loading branch information
Thomas Scholtes
committed
Apr 19, 2020
1 parent
0003c0e
commit 673b9c6
Showing
2 changed files
with
14 additions
and
4 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