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

Replace viewif with ShouldShow #668

Closed
kkoreilly opened this issue Dec 25, 2023 · 2 comments
Closed

Replace viewif with ShouldShow #668

kkoreilly opened this issue Dec 25, 2023 · 2 comments
Assignees
Labels
enhancement A new feature request
Milestone

Comments

@kkoreilly
Copy link
Member

kkoreilly commented Dec 25, 2023

No description provided.

@kkoreilly kkoreilly self-assigned this Dec 25, 2023
@kkoreilly kkoreilly added the enhancement A new feature request label Dec 25, 2023
@kkoreilly kkoreilly added this to the v2 milestone Dec 25, 2023
@kkoreilly kkoreilly changed the title Allow for context specific conditions in viewif Allow for context specific conditions in viewif and replace viewif with ShouldShow Feb 3, 2024
@kkoreilly
Copy link
Member Author

We are replacing viewif with a ShouldShow method in the ShouldShower interface, which will make things a lot cleaner and reduce binary sizes (#733) by removing the expr dependency. This is in accordance with Principle 1: Code is always the best solution.

kkoreilly added a commit that referenced this issue Feb 4, 2024
@kkoreilly kkoreilly changed the title Allow for context specific conditions in viewif and replace viewif with ShouldShow Replace viewif with ShouldShow Feb 4, 2024
@kkoreilly
Copy link
Member Author

This has been implemented in the commits above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature request
Projects
None yet
Development

No branches or pull requests

1 participant