-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
No detection of inherited observables like @ngrx/store/Store #37
Comments
The Did you mean to use |
Sorry, got the operators wrong. The whole list I'm actually using is:
|
Do you have a public repo that effects the behaviour? If not, the issue needs to include the version information for all relevant components. Also, have you established that it is using the configuration you think it is? E.g. does adding an import that violates the |
Unfortunately it's in a private repo. Detections that directly refer to
|
Okay. The problem is that to fix any bug, I need to reproduce it and I have the rules working with various projects that use Angular 4/NgRx 2 and Angular 5/NgRx 4. I've not yet upgraded to NgRx 5 - that could be the problem, but I'd be surprised. A couple things to look at first:
The mechanism the rules use to determine the type is pretty basic. It just walks the type information looking for a base class named If you are able to, it would be a huge help if you could fork this repo and modify the Angular CLI example contained within it. If you are able to reproduce the problem and point me at the fork, it would greatly help in my fixing any bugs. |
Also, any history of your using the rules would be valuable. Is this something that used to work for you? Has the bug accompanied your upgrading any components? Or are you only just starting to use the rules? |
Thanks! I indeed use the |
Yeah. I really wish they'd either fix that rule or just can it. It causes so many problems. |
In case of inherited
Observable
logic the linting currently doesn't detect issues. Such cases are@ngrx/store/Store
or@ngrx/store/Action
.For instance the following code would pass the linting, though a
rxjs-no-operator
rule is present:The text was updated successfully, but these errors were encountered: