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
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
When using the function.query() with a parameter named the same as the scalar URL variable (this.$resource('someItem{/id}');)
the wrong URL is called.
What is Expected?
When calling the query function with : theResource.query({id: "3"});
The URL should be called without the id in the path and with the query parameters.
The URL : /fakeapiurl/?id=3
What is actually happening?
The URL for the scalar is called instead, therefore returning the wrong values.
The URL: /fakeapiurl/3
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
On Chrome
Version 1.5.1
When using the function
.query()
with a parameter named the same as the scalar URL variable (this.$resource('someItem{/id}');
)the wrong URL is called.
What is Expected?
When calling the
query
function with :theResource.query({id: "3"});
The URL should be called without the id in the path and with the query parameters.
The URL :
/fakeapiurl/?id=3
What is actually happening?
The URL for the scalar is called instead, therefore returning the wrong values.
The URL:
/fakeapiurl/3
The text was updated successfully, but these errors were encountered: