Skip to content

Conversation

@gdgunnars
Copy link
Contributor

No description provided.

Adding config option "passthroughQueryParam" to allow for bypassing cache
@Blast-Bot
Copy link

Comment on lines +10 to +15
* @property {string} dynamoDbRegion - AWS region for DynamoDB client configuration.
* @property {string} [dynamoDbAddress] - Optional custom endpoint (useful for local development/testing).
* @property {string} tableName - DynamoDB table name used for storing cache entries.
* @property {number} defaultTTLSeconds - Global default TTL (in seconds) for all cache entries.
* @property {boolean} [disableCache=false] - If true, disables caching plugin-wide.
* @property {string} [passthroughQueryParam] - If defined, this query parameter will bypass cache when present in a request.
Copy link
Member

Choose a reason for hiding this comment

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

What's the difference between wrapping the variable in "[]" and not doing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a way to say that value is optional

@gdgunnars gdgunnars merged commit 3216b54 into main Jun 12, 2025
1 check passed
@gdgunnars gdgunnars deleted the 7516/introduce-passthroughquerykey-on-the-fastify-dynamodb-cache branch June 12, 2025 11:02
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gdgunnars
Copy link
Contributor Author

Resolves #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants