-
Notifications
You must be signed in to change notification settings - Fork 517
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
chore: use $ReadOnlyArray when input array is not modified (fixes #84) #100
Conversation
As far as I can tell, these are the only safe changes. I have left output type as I have left comments as cc @wincent |
The build process is failing because of:
Have you considered using https://github.com/gajus/eslint-plugin-flowtype? I have added |
v0.32 does not support $ReadOnlyArray.
Thanks @gajus. Will merge with a couple of tweaks applied on top. |
Regarding feee2aa, that was an ESLint error, not Flow. |
@@ -162,7 +162,7 @@ export default class DataLoader<K, V> { | |||
} | |||
|
|||
/** | |||
* Adds the provided key and value to the cache. If the key already exists, no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea how this got into the PR. Sorry.
Bah, should have waited for Travis... |
This reverts commit feee2aa.
@wincent Can this be released please? I am still getting dozens of:
It is really discouraging to contribute anything if it does not get released for months. |
@leebyron Any comment here? |
No description provided.