Summary
createNormalizer([]) does not serialize Set values into API-friendly output.
Expected
A value like new Set(["dev", "prod"]) should be normalized to:
["dev", "prod"]
Why
Domain models may use Set to express uniqueness, but HTTP responses need a serializable representation without manual transformation in every handler.
Summary
createNormalizer([])does not serializeSetvalues into API-friendly output.Expected
A value like
new Set(["dev", "prod"])should be normalized to:["dev", "prod"]Why
Domain models may use
Setto express uniqueness, but HTTP responses need a serializable representation without manual transformation in every handler.