We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm using Azure Communication Services to send emails. Unfortunately, their library hard codes cache no-store which I have no way to remove: https://github.com/Azure/azure-sdk-for-js/blob/424bfd1b507ba02e1895269a91f224fd55cfddb5/sdk/core/core-rest-pipeline/src/fetchHttpClient.ts#L72
And Cloudflare Pages Function throws an error when that's set preventing the request from working:
[ERROR] RestError: Error sending request: Unsupported cache mode: no-store You may need to enable the cache_option_enabled compatability flag.
I tried setting compatibility_flags=["cache_option_enabled"] in wrangler.toml without success, it just removed the suggestion from error message.
compatibility_flags=["cache_option_enabled"]
I'm just wondering is there a reason this is an error instead of a warning and just proceed with sending request?
Edit: Found workaround, use patch-package to modify @azure/core-rest-pipeline to remove all instances of cache: "no-store".
cache: "no-store"
The text was updated successfully, but these errors were encountered:
This should have been fixed via #2434
Sorry, something went wrong.
No branches or pull requests
Hi, I'm using Azure Communication Services to send emails. Unfortunately, their library hard codes cache no-store which I have no way to remove:
https://github.com/Azure/azure-sdk-for-js/blob/424bfd1b507ba02e1895269a91f224fd55cfddb5/sdk/core/core-rest-pipeline/src/fetchHttpClient.ts#L72
And Cloudflare Pages Function throws an error when that's set preventing the request from working:
I tried setting
compatibility_flags=["cache_option_enabled"]
in wrangler.toml without success, it just removed the suggestion from error message.I'm just wondering is there a reason this is an error instead of a warning and just proceed with sending request?
Edit:
Found workaround, use patch-package to modify @azure/core-rest-pipeline to remove all instances of
cache: "no-store"
.The text was updated successfully, but these errors were encountered: