refactor(user-core): rename SubscriptionTier to MembershipTier #35
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/DUNITE-7-membership-tier"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dunite-user-core exported two vocabularies side by side: MembershipStatus (correct) and SubscriptionTier (Stripe's noun, wrong as domain vocabulary). Renamed the enum, its impls, its re-export in lib.rs and the crate-level doc comment so the crate carries one consistent noun. The Cargo.toml description carried the same stale noun and is updated with it.
Tier string values (lifetime, free, early_adopter, standard) are unchanged, so there is no wire-format or persisted-data impact; the existing as_str / From<&str> tests pin them. No back-compat alias is added: consumers pin dunite by rev and move on their own bump.
Added a unit test that greps the crate sources for the old identifier so the removal is enforced mechanically rather than by review.
#DUNITE-7