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
@assert
I've noticed some uses of @assert, e.g.
JWTs.jl/src/JWTs.jl
Lines 114 to 117 in 8eeb318
In a future minor version of Julia, @asserts may be disabled by default.
Therefore, I think that most (if not all) uses of @assert in this package should be removed and replaced with regular errors, e.g.
function kid(jwt::JWT)::String issigned(jwt) || throw(ArgumentError("jwt is not signed")) get(decodepart(jwt.header), "kid", nothing) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've noticed some uses of
@assert
, e.g.JWTs.jl/src/JWTs.jl
Lines 114 to 117 in 8eeb318
In a future minor version of Julia,
@assert
s may be disabled by default.Therefore, I think that most (if not all) uses of
@assert
in this package should be removed and replaced with regular errors, e.g.The text was updated successfully, but these errors were encountered: