Boris Cherny

Results 252 comments of Boris Cherny

> @galah92 I have a couple open questions for @bcherny. I can pick this back up when he answers Sorry I missed this! The status was Changes Requested, so I...

This is a bug, and we should find a better way to handle this case. One option is to always emit index signatures as `[k: string]: T | undefined`. In...

Sorry for the delayed response! Feel free to continue work on the PR to resolve requested changes.

What does it mean for `default` to be a string, while the `type` of the schema is an object? JSON-Schemas accept the *combination* of the different types they *may* be;...

@simonschllng PRs are welcome!

@vaskevich I'm not sure JSON-Schema supports that. If you can point to where in the spec it does support it, we can add support in JSTT as well.

Contributions welcome! I’d suggest starting with a good repro case.

This is a neat idea, but I don't think it jives with the specification. https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.4.2 Do you have a specific use case, and a proposal for how we could extend...

Thanks for the (slightly snarky) flag!

Hey there! Does adding `"additionalProperties": false` to your `allOf` cases fix the issue for you? What output would you expect for the `allOf` -- nothing?