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

Pass the namespace parameter to cacheable instances #42

Merged
merged 2 commits into from
Mar 1, 2019

Conversation

brendo
Copy link
Member

@brendo brendo commented Jan 17, 2019

The default Symphony Cacheable class has namespaced support but the Remote Datasource extension doesn't use it. This PR updates Remote Datasource to pass through a namespace value. This enables (among other things), simple clearing of datasources by flushing everything by a $namespace value rather than reconstructing individual cache ID's:

screen shot 2019-01-16 at 11 30 14 pm

@brendo brendo requested a review from nitriques January 17, 2019 04:30
@brendo brendo changed the base branch from master to integration January 17, 2019 04:31
@brendo
Copy link
Member Author

brendo commented Feb 26, 2019

Bump @nitriques? I'll merge soon, I have it working in production on a client site so the risk seems small.

@brendo brendo force-pushed the feature_use-namespaced-cache branch from 4e4f645 to 71be057 Compare February 28, 2019 00:39
@brendo brendo changed the base branch from integration to master February 28, 2019 00:40
Copy link
Member

@nitriques nitriques left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks mate !

@nitriques nitriques changed the base branch from master to integration March 1, 2019 18:02
@nitriques nitriques merged commit 71be057 into integration Mar 1, 2019
@nitriques nitriques deleted the feature_use-namespaced-cache branch March 1, 2019 18:04
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