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

feat(filter): Accept multiple values on a charge_filter_value #1793

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

vincent-pochet
Copy link
Collaborator

Context

Lago is not currently supporting more than 2 levels of event grouping (parent → children)

The goal of this feature is to allow more flexibility of event grouping by allowing an unlimited level of grouping and making it easier to define default charge properties for events based on their properties.

Description

This PR turns change_filter_values#value into change_filter_values#values to accept multiple values for a single filter.

@vincent-pochet vincent-pochet self-assigned this Mar 15, 2024
@vincent-pochet vincent-pochet force-pushed the feat-charge-filters-multi-values branch 2 times, most recently from 8ec9bf0 to a4844f3 Compare March 15, 2024 14:23
spec/models/charge_filter_value_spec.rb Outdated Show resolved Hide resolved
spec/models/charge_filter_value_spec.rb Show resolved Hide resolved
@vincent-pochet vincent-pochet force-pushed the feat-charge-filters-multi-values branch from a4844f3 to 0c97b18 Compare March 19, 2024 09:28
@vincent-pochet vincent-pochet merged commit ba23d3c into main Mar 19, 2024
7 checks passed
@vincent-pochet vincent-pochet deleted the feat-charge-filters-multi-values branch March 19, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants