Skip to content
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

Change policy.get() return value to plain (with override option) #191

Closed
hueniverse opened this issue Oct 17, 2017 · 0 comments
Closed

Change policy.get() return value to plain (with override option) #191

hueniverse opened this issue Oct 17, 2017 · 0 comments
Assignees
Milestone

Comments

@hueniverse
Copy link
Member

@hueniverse hueniverse commented Oct 17, 2017

Change the default return value of the policy.get() method. Before, it always returned an object with { value, cached, report }. This changes it to return just the value by default. To keep the previous format, use the new getDecoratedValue option set to true.

@hueniverse hueniverse added this to the 9.0.0 milestone Oct 17, 2017
@hueniverse hueniverse self-assigned this Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.