Dominik Moritz
Dominik Moritz
Yes, that would be better. Draco doesn't need the extent but it's useful to have. Could you send a pull request to add this feature?
Why don't you make a type union of three interfaces?
Thanks for the report. Can you provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) that demonstrates the issue?
From @HoldYourWaffle I have created issues for most of the problems I encountered in YousefED/typescript-json-schema. I had to switch to that module because conditional types (particularily Omit) are not supported...
Thank you for the comments. I will use this issue to explain some of the different philosophies behind the different libraries. The goal of all of these libraries is to...
>> One fundamental issue is that JSON schema and Types are not equivalent. Some things are not expressible in the other. > This is of course true. I think the...
> I'm not sure why union types would be a problem, isn't that just oneOf I meant intersection types. `allOf` does not work because of `additionalProperties: false` as you noted...
> How is this currently handled? I merge the objects in the allOf into one big object.
If you want to generate code from the schema again, the information about intersections and inheritance is lost.
Thank you for your message. I agree that a hybrid approach might work well but it's hard to say until we have a working implementation. For me personally, my concern...