Skip to content

added optional feature type in CustomerFeature to fix react frontend checking static feature - #10

Merged
justanotherbyte merged 1 commit into
useautumn:mainfrom
BennyKok:feature-type-fix
Sep 10, 2025
Merged

added optional feature type in CustomerFeature to fix react frontend checking static feature#10
justanotherbyte merged 1 commit into
useautumn:mainfrom
BennyKok:feature-type-fix

Conversation

@BennyKok

Copy link
Copy Markdown
Contributor

name: Open a Pull Request
about: Create a PR to help us improve.
title: ''
labels: ''
assignees: bennykok


Aims of this PR

Add FeatureType enum for CustomerFeature type field
Changes
Added FeatureType enum with three valid values: static, continuous_use, and single_use
Updated CustomerFeature.type field from Optional[str] to Optional[FeatureType]
Added FeatureType to the module's all exports

Before the type will be missing because pydantic and skipped the field

Checklist

  • Have code changes been tested?
  • Has documentation been updated?
  • Does this PR fix an issue?
  • Does this PR make breaking changes?

Additional context
Add any other context about the problem here.

@justanotherbyte
justanotherbyte merged commit a5dfe65 into useautumn:main Sep 10, 2025
1 check failed
@justanotherbyte

Copy link
Copy Markdown
Collaborator

Thank you!

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