Skip to content

7516/introduce passthroughquerykey on the fastify dynamodb cache#19

Merged
gdgunnars merged 2 commits into
mainfrom
7516/introduce-passthroughquerykey-on-the-fastify-dynamodb-cache
Jun 12, 2025
Merged

7516/introduce passthroughquerykey on the fastify dynamodb cache#19
gdgunnars merged 2 commits into
mainfrom
7516/introduce-passthroughquerykey-on-the-fastify-dynamodb-cache

Conversation

@gdgunnars
Copy link
Copy Markdown
Contributor

No description provided.

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

Comment thread src/index.ts
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gdgunnars
Copy link
Copy Markdown
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.

3 participants