-
Notifications
You must be signed in to change notification settings - Fork 55
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
ngx-custom-validators 9.x embed @angular in distribution #33
Comments
I'm also getting errors during compile of this dependency...these occur throughout the code: This started occurring after updating the Angular stack from 9.0.7 to 9.1.0 |
Yes I have some problem here. |
same problem here.. seems we can't upgrade to Angular 9.1 yet. |
I will try to solve this and make PR for it. |
Just version update seems to fix errors. I made PR #34 |
Thanks a lot! |
I tested new version with my own project and it fix this problem. Thanks. |
Setting the following as peerDependencies and devDependencies and with their versions prefixed with a ^ will prevent this type of issue from happening in the future:
|
All good now after the update. Thanks! |
I definitely suggest using peerDependencies. ngx-custom-validators will fail if we do something like this ~9.1.2. It only works if it's set to ~9.1.0. Not a big issue... but only when you know about it. I've had plenty of times when I used ~ or ^ trusting that all updates would automatically be stronger, longer, faster.... and working. That was not the case, to the point that my CI/CD system would pull in a newer version than my local environment quite frequently that did somehow not work. Then we are really all scratching our heads going "Well it works on my machine!" So we started hard coding version numbers and removed all ^ and ~ in package.json. All problems went away... until ngx-custom-validators LOL :-D |
Can we get a version bump here that takes care of this issue? Other than adding correct peerDependencies, is there anything else that needs to be done? |
Yes, this should use |
..Could somebody tell me what should I update (peerDependencies)? I'm using angular 8.2.14 and it's not working (error: Types of parameters 'control' and 'control' are incompatible. as above). My package.json: "dependencies": { |
ngx-custom-validators v9.1.0 working in Angular 9.x.x but got broken at Angular v10.0.x |
Hi guys, is there going to be update to ngx-custom-validators? It is broken with Angular v10 |
I'm using v8.0 of ngx-custom-validators in Angular v10 and is working fine, only the v9.x causes a breaking |
Thanks, I guess I will I try downgrade and see if it works. |
I have an issue using equalTo and notEqualTo validators.
Error when
same as: https://stackblitz.com/edit/angular-ivy-ipk5rp (from #38 ) Versions: Could anybody know the solution? |
same here, downgrading to 8.0 made it work with angular 10 |
I tried to use the version 11.0.1 of this package in an application with angular version 11 and had the same problem. Any prediction if solution of the problem? |
That's working for me! |
Steps to reproduce and a minimal demo
Environment information
The text was updated successfully, but these errors were encountered: