Skip to content

Add evaluate to operator type#415

Merged
chris-pardy merged 1 commit intoCacheControl:masterfrom
mlh758:fix-type
Feb 16, 2026
Merged

Add evaluate to operator type#415
chris-pardy merged 1 commit intoCacheControl:masterfrom
mlh758:fix-type

Conversation

@mlh758
Copy link
Contributor

@mlh758 mlh758 commented Feb 26, 2025

The operator class has an evaluate method. It's helpful to be able to call it explicitly to test custom operators so I'm updating the type definition to include it.

Copy link
Collaborator

@chris-pardy chris-pardy left a comment

Choose a reason for hiding this comment

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

Makes sense to expose the existing evaluate method in the types. Thanks @mlh758!

@chris-pardy chris-pardy merged commit 2d06e51 into CacheControl:master Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants