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

[4.x] Make BlueprintRepository a singleton #9489

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

jacksleight
Copy link
Contributor

@jacksleight jacksleight commented Feb 8, 2024

The BlueprintRepository isn't currently a singleton. This is causing a problem with the new blueprint namespaces feature as new repository objects are being created which don't have the additional namespaces registered.

This PR makes it a singleton

This matches the FieldsetRepository which is already a singleton.

@jasonvarga jasonvarga merged commit ff10717 into statamic:4.x Feb 8, 2024
20 checks passed
@jacksleight jacksleight deleted the blueprint-repo-singleton branch February 8, 2024 17:11
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