-
Notifications
You must be signed in to change notification settings - Fork 593
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
Don't include extra encoding for composite mark in the main Encoding
#4528
Conversation
9604ed5
to
851db0f
Compare
build/vega-lite-schema.json
Outdated
@@ -4020,6 +3678,56 @@ | |||
], | |||
"type": "string" | |||
}, | |||
"ErrorExtraEncoding": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually never referred anywhere. Probably an example of the bug in the generator. vega/ts-json-schema-generator#27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I re-declare this in a way that this problem would no longer surface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we sometimes output unnecessary stuff but it should not hurt (except for larger schemas).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol. Isn't Vega-Lite schema large enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I'm not saying it's not a bug but it's not a blocking bug.
347a01b
to
ac2db0b
Compare
Encoding
Encoding
Encoding
… and separate NormalizedUnitSpec from CompositeUnitSpec
ac2db0b
to
2701693
Compare
This PR simplifies #4440 and keep the number of
Encoding
declarations small.In the schema, there are still simply
FacetedEncoding
andEncoding
.