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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
Copy link

sonarcloud bot commented Aug 12, 2024

@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
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.

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