Skip to content

Add SoftLimit field to FeatureEntitlement and improve desc tags#21

Merged
bpapillon merged 1 commit intomainfrom
soft-limit
Feb 4, 2026
Merged

Add SoftLimit field to FeatureEntitlement and improve desc tags#21
bpapillon merged 1 commit intomainfrom
soft-limit

Conversation

@bpapillon
Copy link
Contributor

We discussed soft limit as an omission when doing this original work, but its needed now for another ticket. I will add the code on the api side to fill this in.

Also, I had made some improvements to these desc tags that I never checked in. Some of them don't really make sense (referencing "rules" when they're not used in a rules context), I think these are better.

@bpapillon bpapillon self-assigned this Feb 4, 2026
@bpapillon bpapillon requested review from cbrady and dontlaugh February 4, 2026 18:56
Comment on lines +138 to +139
CreditTotal *float64 `json:"credit_total" desc:"If the company has a credit-based entitlement for this feature, the total credit amount"`
CreditUsed *float64 `json:"credit_used" desc:"If the company has a credit-based entitlement for this feature, the amount of credit used"`
Copy link
Contributor

Choose a reason for hiding this comment

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

CreditTotal and CreditUsed are also always-unset (for now).

@bpapillon bpapillon merged commit 21be801 into main Feb 4, 2026
2 checks passed
@bpapillon bpapillon deleted the soft-limit branch February 4, 2026 22:56
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