-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Do not fail verification test when provider state doesn't exist. #1260
Comments
A workaround I see is to use the same This does not avoid having the states in the producer, but you don't have to create a separate method, just use OR use the default state in the consumer. Ignoring missing states might lead to unexpected outcomes, but if this option is introduced, it would be nice to get warnings about every missing state |
I've added an |
@uglyog great! Which version has this improvement? |
I don’t think it has been released yet. |
Just been released :-D (4.1.12) |
@uglyog , great! Thanks for quick improvement. |
Is there any way to do not fire error when state on a provider side is not defined?
There are cases when Consumer defines state, e.g. "products exist" but Provider shouldn't do something special inside provider state method. But if method with
@State
is not defined it fails.How to do not fail without having
@State
?The text was updated successfully, but these errors were encountered: