Connect a REST endpoint to a serveless supergraph

Hey Team, just want to confirm if there is a way to directly connect a REST endpoint to a serverless version of supergraph?

I doubt it but wanted to confirm it.

Thank you!!

Sunny

Hey Sunny! Thanks for asking. You’re right, we can’t connect a REST endpoint directly to a supergraph. You’d need to create a subgraph that uses the REST endpoint as a data source and write up the resolvers. I know you’ve taken our Odyssey courses, so you should hopefully be equipped to do so! Let us know if you run into any issues though.