alexmarqs / zod-config

Load configuration variables from multiple sources with flexible adapters, ensuring type safety with Zod.
https://www.npmjs.com/package/zod-config
MIT License
34 stars 7 forks source link

`isMergeableObject` returns `true` for `Map` and `Set` #15

Closed Lordfirespeed closed 2 weeks ago

Lordfirespeed commented 2 weeks ago

This means that Map and Set values sourced from the script adapter end up being deserialized to {}, as Object.keys() returns [] for both Map and Set objects.