New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate Shared Apollo Client #2706
Comments
After looking into this more I don think there is really much shared setup that we want to package together and share everywhere. Here are the things that we thought about including in the package and what I or we concluded about them:
Really the only non-trivial thing that seems worth sharing between packages is the auth link and we decided copy-pasting between the few places we use it is fine. |
Thanks for the overview, @BlairCurrey! One question, what do you mean exactly by
|
If you look at https://github.com/interledger/rafiki/blob/main/packages/backend/codegen.yml and |
Look into a shared apollo client that could be used across our packages and published on npm. Do not include actual requests. Should consist of common configuration (including
authLink
for signing requests) and GQL types.Things to consider:
The text was updated successfully, but these errors were encountered: