-
Notifications
You must be signed in to change notification settings - Fork 4
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
improve: LDP-2497: Add $ceApi helper and include query in server routes #224
Conversation
if (config.addRequestFormat) { | ||
useFetchOptions.query._format = 'custom_elements' | ||
} | ||
useFetchOptions.key = `page-${path}-${JSON.stringify(useFetchOptions.query)}` |
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.
if not provided, it will be generated based on the url and fetch options
--> let's better stick with the default!
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.
keys are different on server and client for some reason so it re-fetches and fails with internal server error in a project
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.
weird. let's check it in a follow-up then.
Solves #211