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): Preload charge filter and groups in past usage fees #1753

Merged
merged 1 commit into from
Mar 6, 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 ensure that charge_filters (and groups) are preloaded along with the fees when computing the past usage for a customer

@vincent-pochet vincent-pochet self-assigned this Mar 5, 2024
@rsempe rsempe merged commit 5c28386 into main Mar 6, 2024
6 checks passed
@rsempe rsempe deleted the misc-usage-filter-include branch March 6, 2024 11: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.

None yet

2 participants