Extend hope_kv_list validation API with: 2.2.0
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 25 Jan 2015 03:33:49 +0000 (22:33 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 25 Jan 2015 04:38:27 +0000 (23:38 -0500)
commite163be89d2e192e63fdc03b66146067d92b21e1f
treec1e06558c14d2eca0292a530d7b4aed9f7b4b033
parent870172d69230ad2cf0f409ec009ab3feaa723fee
Extend hope_kv_list validation API with:

find_unique_presence_violations, which is a subset of validate_unique_presence,
which returns a record of found violations (a list of violating keys per
violation type field), so that a user can directly match a subset of violation
types that they care about without having to search yet another list.

validate_unique_presence keeps the same signature and semantics, but is now
implemented with find_unique_presence_violations.
include/hope_kv_list.hrl [new file with mode: 0644]
src/hope.app.src
src/hope_kv_list.erl
test/hope_kv_list_SUITE.erl
This page took 0.019682 seconds and 4 git commands to generate.