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
What I am currently using, works, but it may not be the best way because I may be resetting the API configuration every time I do this.
A better option would be to have an option to override the graphQl endpoint in the (this.client.graphql(payload) function.
Because I am not sure I am losing my ID Token custom header if I run the configure again in my graphql function (I could add it).
Describe alternatives you've considered
no alternatives
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Is this related to a new or existing framework?
Angular
Is this related to a new or existing API?
GraphQL API
Is this related to another service?
No response
Describe the feature you'd like to request
I would like to be able to call a different API endpoint from my Angular app if I need then the one that is configured in
Amplify.configure
.I currently add a custom header:
and I am using this switch in my api graphql function:
to swap the API config.
Describe the solution you'd like
What I am currently using, works, but it may not be the best way because I may be resetting the API configuration every time I do this.
A better option would be to have an option to override the graphQl endpoint in the
(this.client.graphql(payload)
function.Because I am not sure I am losing my ID Token custom header if I run the configure again in my graphql function (I could add it).
Describe alternatives you've considered
no alternatives
Additional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: