Skip to content

Add DefaultIsMonotonic property to Ulid class#4

Merged
Seramis merged 1 commit intomainfrom
static_defaultIsMonotonic
Apr 16, 2025
Merged

Add DefaultIsMonotonic property to Ulid class#4
Seramis merged 1 commit intomainfrom
static_defaultIsMonotonic

Conversation

@Seramis
Copy link
Copy Markdown
Member

@Seramis Seramis commented Apr 16, 2025

Introduce a new static property DefaultIsMonotonic to the Ulid class, allowing users to set the default behavior for generating ULIDs. Update ULID creation methods to accept a nullable isMonotonic parameter for enhanced flexibility.

Revise test cases in UlidComparableTests and UlidNewTests to validate the new behavior. Update documentation in README.md and PACKAGE.md to reflect these changes, ensuring accurate usage information. Add comments to clarify the implications of the new property and method parameters for improved code readability.

Introduce a new static property `DefaultIsMonotonic` to the `Ulid` class, allowing users to set the default behavior for generating ULIDs. Update ULID creation methods to accept a nullable `isMonotonic` parameter for enhanced flexibility.

Revise test cases in `UlidComparableTests` and `UlidNewTests` to validate the new behavior. Update documentation in `README.md` and `PACKAGE.md` to reflect these changes, ensuring accurate usage information. Add comments to clarify the implications of the new property and method parameters for improved code readability.
@Seramis Seramis self-assigned this Apr 16, 2025
@Seramis Seramis merged commit 01b74f2 into main Apr 16, 2025
3 checks passed
@Seramis Seramis deleted the static_defaultIsMonotonic branch April 16, 2025 12:54
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