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 negative value parsing on schema attributes #1031

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Sep 6, 2024

This commit fixes issue where negative numbers caused parsing error by rust_analyzer however the code compiled correctly and created valid code.

The issue is fixed for validation attributes and AnyValue which is used in various places. The original issue only reported the issue in validation attributes.

Fixes #994

This commit fixes issue where negative numbers caused parsing error by
`rust_analyzer` however the code compiled correctly and created valid
code.

The issue is fixed for validation attributes and `AnyValue` which is
used in various places. The original issue only reported the issue in
validation attributes.

Fixes #994
@juhaku juhaku added the bug Something isn't working label Sep 6, 2024
@juhaku juhaku merged commit ed255a1 into master Sep 6, 2024
18 checks passed
@juhaku juhaku deleted the fix-negative-number-values branch September 6, 2024 17:57
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: Released
Development

Successfully merging this pull request may close these issues.

#[schema(...)] (exclusive_)maximum and (exclusive_)minimum error with negative values
1 participant