Hello, I'm back with more questions:
Anyone ever combine rest api wtih graphql api in the meltano sdk? If so, how did you do it?
a
aaronsteers
05/18/2022, 8:59 PM
We have a few examples actually. It should work quite easily, since the tap itself is ambivalent to what classes of streams it is processing.
https://github.com/MeltanoLabs/tap-github is one example that has both
aaronsteers
05/18/2022, 9:01 PM
Generally, you just have one Stream base class derived from RESTStream and another derived from GraphQLStream, and each stream just inherits from the base class that makes most sense for that stream.
s
Stéphane Burwash
05/18/2022, 9:02 PM
Well thats exactly what I'm looking for ! Thanks 😄