Skip to content

Fix cache key and return value on first call #6

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 1 commit into from
Oct 23, 2017

Conversation

maxnowack
Copy link
Contributor

If a top level query is cached, root would be null and the cache key is ambiguously. That's why I've added hash(func) to the cache key.
Additionally if root or args including non plain objects, it's possible that object-hash fail.

@coveralls
Copy link

coveralls commented Oct 23, 2017

Coverage Status

Coverage decreased (-2.7%) to 93.548% when pulling fcead70 on maxnowack:patch-3 into 6dd6380 on Intellicode:master.

@coveralls
Copy link

coveralls commented Oct 23, 2017

Coverage Status

Coverage decreased (-2.7%) to 93.548% when pulling fcead70 on maxnowack:patch-3 into 6dd6380 on Intellicode:master.

@Intellicode
Copy link
Owner

@maxnowack Thanks for your contributions!

@Intellicode Intellicode merged commit 517151b into Intellicode:master Oct 23, 2017
@Intellicode
Copy link
Owner

@maxnowack I've made a new release for your fixes - please don't hestitate to open an issue with feature requests!

@maxnowack maxnowack deleted the patch-3 branch October 23, 2017 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants