decs / typeschema

🛵 Universal adapter for TypeScript schema validation.
https://typeschema.com
MIT License
368 stars 11 forks source link

Proposal: common set schema api #30

Closed Talent30 closed 6 months ago

Talent30 commented 7 months ago

Hi, Thank you for this lib.

It would be nice if we can abstract a common set of schema apis (e.g. merge schemas) available for lib authors.

I am happy to help implementing this if you think this is a valid requirement.

decs commented 7 months ago

Hi, @Talent30! Thanks for the feedback!

Do you mean merging object schemas of different libraries into one? Or just offering more methods than just validation?

On the latter, I've been doing a major refactor (under the monorepo branch) that will unblock adding methods that work with just a subset of validation libs. My expectation is to publish it in 2 weeks.

Talent30 commented 7 months ago

Hi, @decs,

It’s the latter one. Common subset methods across different libs. Thank you 🙏 I’ll have a look the branch.

decs commented 6 months ago

Solved as part of v0.13.0