Skip to content

Support serializing Set values with createNormalizer #172

Description

@imdhemy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions