Skip to content

Adds Decimal value objects and enforces immutability - #5

Merged
josedejesuschavez merged 1 commit into
mainfrom
0.1.7
Jan 15, 2026
Merged

Adds Decimal value objects and enforces immutability#5
josedejesuschavez merged 1 commit into
mainfrom
0.1.7

Conversation

@josedejesuschavez

Copy link
Copy Markdown
Owner

Adds DecimalValueObject and PositiveDecimalValueObject classes, and implements immutability for all value objects.

This change introduces new value object types for handling decimal values and ensures that value objects are immutable after initialization.

  • Introduces DecimalValueObject and PositiveDecimalValueObject
  • Implements immutability for ValueObject and CompositeValueObject

This change addresses the need for decimal value object types and ensures that value objects are immutable, preventing accidental modification after creation.

Updates the package version to 0.1.7 in pyproject.toml and uv.lock.
@josedejesuschavez
josedejesuschavez merged commit f3177e6 into main Jan 15, 2026
1 check passed
@josedejesuschavez
josedejesuschavez deleted the 0.1.7 branch January 15, 2026 03:14
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.

1 participant