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

[5.x] Refactor Globals to locate items for a set using the Stache #9693

Merged
merged 3 commits into from
Apr 3, 2024
Merged

[5.x] Refactor Globals to locate items for a set using the Stache #9693

merged 3 commits into from
Apr 3, 2024

Conversation

JohnathonKoster
Copy link
Contributor

@JohnathonKoster JohnathonKoster commented Mar 10, 2024

This PR refactors the GlobalVariablesRepository to locate items for a set using a newly created store index instead of loading all global variables.

Also adds handle as an index so when you run stache:warm it'll warm it.

@JohnathonKoster JohnathonKoster mentioned this pull request Mar 10, 2024
37 tasks
# Conflicts:
#	src/Stache/Repositories/GlobalVariablesRepository.php
@jasonvarga jasonvarga merged commit eb32029 into statamic:master Apr 3, 2024
17 checks passed
@jasonvarga jasonvarga deleted the refactor-global-store-and-repository branch April 3, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants