Skip to content

Commit

Permalink
v0.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Oct 13, 2020
1 parent d7f8ef3 commit d698418
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SearchLight"
uuid = "340e8cb6-72eb-11e8-37ce-c97ebeb32050"
authors = ["Adrian Salceanu <[email protected]>"]
version = "0.21.0"
version = "0.21.1"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
2 changes: 2 additions & 0 deletions src/Validation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ function haserrorsfor(mv::ModelValidator, field::Symbol) :: Bool
! isempty(errorsfor(mv, field))
end

const has_errors_for = haserrorsfor # for Genie compatibility


function errorsfor(mv::ModelValidator, field::Union{Symbol,Nothing} = nothing) :: Vector{ValidationError}
result = ValidationError[]
Expand Down

2 comments on commit d698418

@essenciary
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/22905

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.21.1 -m "<description of version>" d6984180f0bea94dfdde83dc2d4092c88139fa7c
git push origin v0.21.1

Please sign in to comment.