Skip to content

Conversation

@SeraphimKaito
Copy link
Contributor

I want the port to support string type for two reasons:

  1. Many well-known libraries support both string and number for port configuration, since ports are typically loaded from env files where values are strings. This way, users don't need to perform type conversion.

  2. Many people, including myself, find that when the port is passed as a string type, the error message is not very clear, only showing "invalid port".

@SeraphimKaito
Copy link
Contributor Author

Can this PR be merged? @prakashsvmx

@prakashsvmx
Copy link
Member

Thank you for the contribution @sapenlei

@prakashsvmx prakashsvmx merged commit 91dff4b into minio:master Nov 16, 2024
@SeraphimKaito SeraphimKaito deleted the feature/port-support-string-type branch November 16, 2024 04:13
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.

3 participants