We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
problem
Given
(parse-uuid 1)
You see a warning saying that parse-uuid should be either nil or string.
expected behavior
Given that
; eval (root-form): (parse-uuid nil) ; (err) Execution error (NullPointerException) at java.util.UUID/fromString (UUID.java:237). ; (err) Cannot invoke "String.length()" because "name" is null
I would expect the parse-uuid not to be nilable but just a string. So maybe something like:
parse-uuid {1 {:args (:string)}}
Open to making a PR
The text was updated successfully, but these errors were encountered:
Sure, PR welcome!
Sorry, something went wrong.
Fix clj-kondo#2187: Make string non nillable for parse-uuid
9c40f00
8d1531b
No branches or pull requests
problem
Given
You see a warning saying that parse-uuid should be either nil or string.
expected behavior
Given that
I would expect the parse-uuid not to be nilable but just a string. So maybe something like:
Open to making a PR
The text was updated successfully, but these errors were encountered: