Skip to content

Conversation

@angelozerr
Copy link
Contributor

@angelozerr angelozerr commented Aug 12, 2024

fix: @ConfigProperty for java.util.Duration with defaultValue flagged as error

Fixes #1207 and enum (see redhat-developer/vscode-quarkus#612)

@angelozerr angelozerr force-pushed the duration_config_validator branch from 2a285f9 to b5e1c78 Compare August 12, 2024 15:31
@angelozerr angelozerr changed the title @ConfigProperty for java.util.Duration with defaultValue flagged as fix: fix: @ConfigProperty for java.util.Duration with defaultValue flagged as fix: Aug 12, 2024
@angelozerr angelozerr changed the title fix: @ConfigProperty for java.util.Duration with defaultValue flagged as fix: fix: @ConfigProperty for java.util.Duration with defaultValue flagged as error Aug 12, 2024
@angelozerr angelozerr force-pushed the duration_config_validator branch from b5e1c78 to c4c80e8 Compare August 12, 2024 16:19
@fbricon
Copy link
Contributor

fbricon commented Aug 12, 2024

this doesn't address all quarkus cases, which uses a DurationConverter. See #1207 (comment)

@angelozerr angelozerr force-pushed the duration_config_validator branch from c4c80e8 to 3301cdd Compare August 12, 2024 16:40
@sonarqubecloud
Copy link

@angelozerr angelozerr requested a review from fbricon August 12, 2024 16:54
@angelozerr angelozerr marked this pull request as ready for review August 12, 2024 16:55
@angelozerr
Copy link
Contributor Author

Fixed with #1520

@angelozerr angelozerr closed this Nov 27, 2025
@angelozerr angelozerr self-assigned this Nov 27, 2025
@angelozerr angelozerr added the bug Something isn't working label Nov 27, 2025
@angelozerr angelozerr added this to the 2.4.0 milestone Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

@ConfigProperty for java.util.Duration with defaultValue flagged as error

2 participants