Questions tagged [restdatasource]
7 questions
13
votes
1 answer
GraphQL playground - sending Cookie as Http Header "disappears"
I'm testing some implementations in the GraphQL Playground, in which I want to send a specific cookie, so that I can fetch it in my resolver. I'm using the built in Http Headers pane in the playground:
However, when I add headers named either…

Zeliax
- 4,987
- 10
- 51
- 79
4
votes
1 answer
Apollo RESTDataSource calling other RESTDataSource?
Say I have an 2 API classes that extend RESTDataSource:
class MoviesAPI extends RESTDataSource {
async getMovies() {}
}
class SongsAPI extends RESTDataSource {
async getSongs() {}
}
How can I call getSongs from getMovies within the existing Apollo…

His
- 5,891
- 15
- 61
- 82
3
votes
0 answers
How to set up DataSources for GraphQL Subscriptions in Apollo without long running cache
I'm using RESTDataSource as the basis for all REST backend operations in Apollo server. This works fine for Queries and Mutations, and in particular the ability to use cached responses within a single request is working as expected.
I want to use my…

wabrit
- 217
- 2
- 14
1
vote
0 answers
ACL information for connecting rest services
I am new to Oracle APEX, i am trying to create Rest Data Source in Oracle APEX but i am getting an error which is attached screenshot,
enter image description here
So i have checked with my DBA, he want some information like below.
ACL Name:
lower…
0
votes
0 answers
How to pass request body as a form-data in apex oracle Rest Data Source?
I have one API in that I am using post method and I am passing one request body as form data. It was working in my postman but in apex low code rest data source it was not working and not getting the request body why?
How to pass the request body…

Thish
- 3
- 2
0
votes
1 answer
How to pass RESTDataSource response headers to the ApolloServer response header (express)
I have ApolloServer running where the frontend makes a query request and the ApolloService fetches the request and then performs a request with RESTDataSource to a third-party service, I receive a response with a header.
Currently, ApolloServer only…

Latrache Abdelfettah
- 27
- 1
- 5
-1
votes
1 answer
Apollo-GraphQL field type for object with dynamic keys from input type
Is there a way in apollo-graphql to define name of the field from values passed in input? Something like below, how to define key[i] here?
type response{
key[0] : {
field1 : String,
field2 : String
}
where input…

user837593
- 337
- 1
- 5
- 25