Skip to content
New issue

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

Create a static cache class to share cache pools between tests #21

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

NanoSector
Copy link
Contributor

This fixes several performance issues:

This fixes several performance issues:
- OpenAPI YAML definitions are reloaded on every test class since static
properties are not shared in traits,
- Allows for the use of a cache adapter according to
https://github.com/thephpleague/openapi-psr7-validator#caching-layer--psr-6-support,
greatly speeding up tests,
@NanoSector NanoSector requested a review from gertjuhh April 7, 2024 10:45
@gertjuhh gertjuhh merged commit dd4843b into gertjuhh:main Apr 9, 2024
@NanoSector NanoSector deleted the feature/cache-openapi-validator branch April 9, 2024 16:09
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