You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following calls are equivalent:
sdk.root..(data, options);
sdk..(data, options);
But actually invocation sdk.<service>.<action>.foobar() will work, that would be unexpected.
Expected behavior is that sdk.<service>.<action>.foobar() will not generate request to api with url <action url>/foobar. Ideally it should throw foobar is not a function.
This bug was found by evaluating sdk action in jest tests. There is a check for assymetricMatch property, and for sdk action this is true.
The text was updated successfully, but these errors were encountered:
Docs says:
But actually invocation
sdk.<service>.<action>.foobar()
will work, that would be unexpected.Expected behavior is that
sdk.<service>.<action>.foobar()
will not generate request to api with url<action url>/foobar
. Ideally it should throwfoobar is not a function
.This bug was found by evaluating sdk action in jest tests. There is a check for
assymetricMatch
property, and for sdk action this istrue
.The text was updated successfully, but these errors were encountered: