Closed rralston-sfin closed 1 year ago
With the following enum schema
(def enum-example [:enum {:encode/json name :decode/json keyword} :e-1 :e-2])
(properties (from-ast (ast enum-example))) returns nil rather than {:encode/json name :decode/json keyword}.
(properties (from-ast (ast enum-example)))
nil
{:encode/json name :decode/json keyword}
The fix persists the properties and options from the schema into the ast.
thanks!
With the following enum schema
(properties (from-ast (ast enum-example)))
returnsnil
rather than{:encode/json name :decode/json keyword}
.The fix persists the properties and options from the schema into the ast.