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
I am having a bit of difficulty pulling the arguments from the query invocation onto the path variable inside of the directive.
I believe it is very similar this issue re: Replacing Path Variables, except in this case I am using the vanilla apollo client and no higher order component.
Upon invocation, I can see the logs with the correct id, but the breakpoint on the resolver inside of apollo-link-rest has args = {floor_space_id: undefined}.
I am not sure if this is a simple implementation error, or if this is a simpler example of the Replacing Path Variables issue noted above. Any help would be appreciated. Thanks.
Here is the client code (all of the extra params on queryOpts are attempts to pass in the variable)-
Hi there,
I am having a bit of difficulty pulling the arguments from the query invocation onto the path variable inside of the directive.
I believe it is very similar this issue re: Replacing Path Variables, except in this case I am using the vanilla apollo client and no higher order component.
Upon invocation, I can see the logs with the correct id, but the breakpoint on the
resolver
inside ofapollo-link-rest
hasargs = {floor_space_id: undefined}
.I am not sure if this is a simple implementation error, or if this is a simpler example of the Replacing Path Variables issue noted above. Any help would be appreciated. Thanks.
Here is the client code (all of the extra params on queryOpts are attempts to pass in the variable)-
And here is the query -
There are no other
apollo-links
at the moment, and the client is set with defaults fromimport { ApolloClient } from "apollo-client";
.The text was updated successfully, but these errors were encountered: