Is it possible to use Redwood with an already existing GraphQL endpoint or using a service such as Hasura or FaunaDB?
They're currently working on a FaunaDB integration.
@brianraila It should be possible. In your redwood.toml, there's a variable you can set called apiProxyPath. If you look at how Redwood instantiates the Apollo Client, it uses __REDWOOD__API_PROXY_PATH as the uri.
__REDWOOD__API_PROXY_PATH is set using apiProxyPath in webpack.common.js, so you can kind of tweak your graphQL endpoint by changing apiProxyPath.
But right now that trailing /graphql is hardcoded in, so you'd have to go into node_modules if you want to change that too.
Hi @brianraila If you haven't seen these already, here are some relevant docs and conversations:
Hope this helps!
Closing this Issue for now. But (re)open as needed and/or reach out on the Forums!
Thanks for that @thedavidprice
But does this mean I am not able to take advantage of "cells" in Redwood when using an external GraphQL API?
@brianraila A Cell will still work just fine :+1:
Most helpful comment
They're currently working on a FaunaDB integration.