Skip to content
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

Move assigning previewData into createGraphQLFetch #2079

Closed
wants to merge 1 commit into from

Conversation

fraxachun
Copy link
Contributor

Passing previewParams every time is cumbersome and error prone, furthermore there is no use case where this possibility adds value. Downside is that createGraphQLFetch is async now.

Copy link
Collaborator

@johnnyomair johnnyomair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I like this. In combination with #2077 this would make every page dynamic. Also, this results in decrypting the JWT twice for every requests (not sure if this has a significant impact on performance, however).

@fraxachun fraxachun closed this Jun 4, 2024
@johnnyomair johnnyomair deleted the graphql-fetch-preview branch June 4, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants