Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(service): add Limit string conversions #33

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

k9withabone
Copy link
Owner

@k9withabone k9withabone commented Oct 11, 2024

Added Display and FromStr implementations to compose_spec::service::Limit.

Changed the string deserialization logic of Limit to deserialize the string "-1" as Limit::Unlimited.

Added `Display` and `FromStr` implementations to
`compose_spec::service::Limit`.

Changed the string deserialization logic of `Limit` to deserialize the
string "-1" as `Limit::Unlimited`.
@k9withabone k9withabone added the enhancement New feature or request label Oct 11, 2024
@k9withabone k9withabone added this to the v0.3.0 milestone Oct 11, 2024
@k9withabone k9withabone merged commit de3af7f into main Oct 13, 2024
9 checks passed
@k9withabone k9withabone deleted the limit-string-conversion branch October 13, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant