You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feels like a lower priority given the nature of our create/update/delete methods, but for the sake of completeness we should add the revalidate and tag options to these methods. I think the main reason we'd want to do this, is to be able to prevent Next from ever caching fetch for these methods - by their nature they will always provide a new response.
Describe the solution you'd like
Add cache and next options to createResource, updateResource, and deleteResource.
Pass the values to fetch options if provided.
Describe alternatives you've considered
We could wait to hear user need for this before implementing, and close if we don't hear anything.
The text was updated successfully, but these errors were encountered:
Package
next-drupal (NPM package)
Describe the feature request
Feels like a lower priority given the nature of our create/update/delete methods, but for the sake of completeness we should add the revalidate and tag options to these methods. I think the main reason we'd want to do this, is to be able to prevent Next from ever caching fetch for these methods - by their nature they will always provide a new response.
Describe the solution you'd like
cache
andnext
options to createResource, updateResource, and deleteResource.Describe alternatives you've considered
We could wait to hear user need for this before implementing, and close if we don't hear anything.
The text was updated successfully, but these errors were encountered: