Skip to content

Conversation

@jasonbahl
Copy link
Collaborator

  • update testing workflow to test against WPGraphQL 1.14.4 (stop-gap as 1.14.5 had some changes that caused tests to break)
  • added Settings::cache_maps_enabled() to be able to check if cache maps are enabled. Default is the same as "caching_enabled()" but can be filtered to be different (i.e. plugins that don't want to use "local" cache, but do want to track the mapping)
  • Prevent maps from being built/stored if cache_maps are not enabled
  • add filter to tests to enable cache maps (tests currently rely on the maps)

closes #229

…as 1.14.5 had some changes that caused tests to break)

- added Settings::cache_maps_enabled() to be able to check if cache maps are enabled. Default is the same as "caching_enabled()" but can be filtered to be different (i.e. plugins that don't want to use "local" cache, but do want to track the mapping)
- Prevent maps from being built/stored if cache_maps are not enabled
- add filter to tests to enable cache maps (tests currently rely on the maps)
@jasonbahl jasonbahl added the type: bug Issue that causes incorrect or unexpected behavior label Jul 13, 2023
@jasonbahl jasonbahl requested a review from markkelnar July 13, 2023 21:01
@jasonbahl jasonbahl self-assigned this Jul 13, 2023
@markkelnar markkelnar self-requested a review July 14, 2023 14:13
@jasonbahl jasonbahl merged commit fe967fc into main Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Issue that causes incorrect or unexpected behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cache Maps should not be stored if "Use Object Cache" setting is not enabled

3 participants