Uh oh!
There was an error while loading. Please reload this page.
Make Stache invalidate at a given time - #4653
Closed
aerni wants to merge 2 commits into
Closed
Conversation
aerni
marked this pull request as draft
November 5, 2021 15:44
aerni
marked this pull request as ready for review
November 5, 2021 16:25
aerni
marked this pull request as draft
November 5, 2021 16:25
edalzell
commented
Nov 6, 2021
Contributor
@aerni does this address this: statamic/ideas#588? |
aerni
commented
Nov 7, 2021
ContributorAuthor
jasonvarga
commented
Jan 13, 2022
Member
Closing this for now as it's been sitting as a draft for months. Feel free to reopen in the future if/when it's ready. |
aerni
commented
Jan 13, 2022
ContributorAuthor
It's only a "draft" because it's showing two different approaches. I'm waiting for your to decide if either is a good way to go. |
jasonvarga
commented
Jan 13, 2022
Member
We have dedicated index classes for special fields. I guess instead of checking |
aerni
commented
Jan 18, 2022
ContributorAuthor
I created a new PR #5089 with the suggested changes. Hope it's going into the right direction now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims to resolve issue #2217. It's a draft with two commits, each taking a different approach. Both approaches work. But I'm not sure if either approach is the right way to go about this.
It feels dirty to check for an index name of
statusin theIndexclass. But I honestly couldn't think of another way to solve this.If anything, I hope that this PR at least gets the ball rolling in finding a good solution.