Boris Cherny

Results 252 comments of Boris Cherny

Is `$merge` part of the JSON-Schema spec, or is it a custom extension you're using?

If someone wants to take this on, a good start would be speccing out how exactly `$merge` differs from `allOf`. If the two are identical, this could simply be implemented...

Hey there! Want to flesh this idea out a bit more? What are some example JSON-Schema inputs, and what outputs will you generate? I'd love to see how this might...

Hey, these are generally a little different. Interfaces with the same name will be merged by TSC, which is important for emitting duplicates (otherwise, we’d need to prune these ourselves...

Hey, curious if you could talk about the motivation for this a bit. Would love to understand your use case better.

> I tried an approach which removed the description fields and then did a deep comparison. That does work but resulted in referencing interfaces that may be the same in...

This could be a good approach, and I'd be open to a flag for it if there's more interest from others.

This is an interesting idea. I guess there are 2 parts: 1. Inferring that property types are generic - We can either: a. Assume that types that begin with a...

Inferring from title is too unstructured for my taste, and makes parts 1 and 2 above asymmetrical. Also, someone might for some reason have "IArg" as a title, but not...