-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A & (B | C) would produce only A in the schema #62
Comments
It seems like Perhaps, the |
If I have to guess, the generator doesn't use |
I think using For example, in Vega-Lite, we have many things that share common parts such as:
Since we already reproduce merged schema for each of these pairs, the output schema can be quite huge. |
export interface A {
a: number;
}
export interface B {
b: number;
}
export interface C {
c: number;
}
export type MyType = A & (B | C); Produces
|
We actually discussed this issue back on 2017 at #4 |
From vega/vega-lite#4440 (comment):
The text was updated successfully, but these errors were encountered: