-
Notifications
You must be signed in to change notification settings - Fork 90
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
Connect pano to GQL #572
Connect pano to GQL #572
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
f78cb4a
to
a572cf4
Compare
1a87969
to
d375fe4
Compare
d375fe4
to
5851858
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
c7fa2b2
to
84ea280
Compare
84ea280
to
71e0ecb
Compare
const IS_SERVER = typeof window === typeof undefined; | ||
const CACHE_TTL = 5 * 1000; // 5 seconds, to resolve preloaded results | ||
|
||
const HTTP_ENDPOINT = IS_SERVER ? (process.env.NEXT_PUBLIC_GQL_URL as string) : "/gql"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line requires apps using this package to have a rewrite rule configured for /gql
url to real graphql url (eg https://gql.dev.kamp.us/graphql
)
Merging this to unblock stuff, we can open bug tickets if we see something broken. |
Makes sense tbh! Sounds awesome, can't wait to develop all the features with GQL/relay 🤌🏻😍 |
This PR connects pano to GQL.
Closes #544
Closes #545
Closes #582
Closes #588
Closes #589
Closes #590