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

refactor: determine hierarchy separator without creating connections #37

Closed
wants to merge 1 commit into from
Closed

refactor: determine hierarchy separator without creating connections #37

wants to merge 1 commit into from

Conversation

dciprian-petrisor
Copy link

@dciprian-petrisor dciprian-petrisor commented Oct 29, 2022

After diving a bit deeper into the code, it seems the only problem is the hierarchy separator being different for the AlternativeLaravelCache/Store/AlternativeHierarchialFileCacheStore.php, as it is the only one which uses cache pools that inherit from HierarchicalCachePool (HierarchialFilesystemCachePoolFlysystem1 and HierarchialFilesystemCachePoolFlysystem3).

Therefore the most simple solution is to override the return value for that store and remove the original check.

I've also added a simple docker setup for running the existing tests easily.

@dciprian-petrisor dciprian-petrisor marked this pull request as ready for review October 29, 2022 17:28
@swayok swayok closed this Oct 29, 2022
@dciprian-petrisor dciprian-petrisor deleted the refactor/hierarchy-separator branch October 29, 2022 20:08
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.

None yet

2 participants