joanllenas / ts.data.json

1.7kB JSON decoding library for Typescript
BSD 3-Clause "New" or "Revised" License
205 stars 16 forks source link

Use variadic tuples to simplify allOf implementation. #27

Closed rhofour closed 3 years ago

rhofour commented 4 years ago

This requires updating to TypeScript 4.0.

joanllenas commented 4 years ago

This is nice! let's get rid of some noise :) I'm going to delay this for a while given that this is a breaking change but doesn't add any feature to the library. Thanks @rhofour !

rhofour commented 4 years ago

Arguably it adds the ability to handle passing in > 30 decoders to allOf, but I imagine that's not a limitation anyone's actually run into. Delaying this sounds good to me.

joanllenas commented 3 years ago

Hi @rhofour , your PR is merged, finally! https://github.com/joanllenas/ts.data.json/releases/tag/v2.0.0 Thanks!