diff --git a/src/hocon_schema.erl b/src/hocon_schema.erl index 8f5004a..b61ca13 100644 --- a/src/hocon_schema.erl +++ b/src/hocon_schema.erl @@ -132,7 +132,7 @@ %% deprecated field can not be removed due to compatibility reasons. %% The value will be dropped, %% Deprecated fields are treated as required => {false, recursively} - deprecated => {since, binary()} | false, + deprecated => {since, binary() | string()} | false, %% Other names to reference this field. %% this can be useful when we need to rename some filed names %% while keeping backward compatibility.