Skip to content

Commit

Permalink
Fixed new test case from LIVR spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kostiushkin committed Jan 28, 2025
1 parent 05321f6 commit 851a823
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sets/liver_livr_rules.erl
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ equal_to_field(_Args, _Value, _Opts) ->
%% meta rules
nested_object([List|_], Value, Opts) when is_list(List); is_map(List) ->
nested_object(List, Value, Opts);
nested_object(_Args, <<>>, _Opts) ->
{ok, <<>>};
nested_object(Args, Value, Opts) ->
liver:validate_map(Args, Value, Opts).

Expand Down

0 comments on commit 851a823

Please sign in to comment.