From f2745e91c24d547c9b7bd0636fd79152d927e5df Mon Sep 17 00:00:00 2001 From: Dylan Chong Date: Mon, 1 Jan 2018 21:31:09 +1300 Subject: [PATCH] Add note about strict_keys with ExConstructor --- lib/ex_structable.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ex_structable.ex b/lib/ex_structable.ex index d07d7e7..6da27a0 100644 --- a/lib/ex_structable.ex +++ b/lib/ex_structable.ex @@ -176,6 +176,7 @@ defmodule ExStructable do put_function_name: :put, # Throw KeyError on passing unknown key, and # throw ArgumentError if a key from `@enforce_keys` is missing. + # NOTE: Currently doesn't work on ExConstructor because library is broken strict_keys: true ] """ @@ -187,7 +188,7 @@ defmodule ExStructable do use_ex_constructor_library: false, new_function_name: :new, put_function_name: :put, - strict_keys: true, + strict_keys: true, # TODO this doesn't work on ExConstructor because library is broken ] end