Skip to content
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

Merged
merged 3 commits into from
Feb 10, 2019

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented Feb 9, 2019

This PR simplifies #4440 and keep the number of Encoding declarations small.

In the schema, there are still simply FacetedEncoding and Encoding.

@@ -4020,6 +3678,56 @@
],
"type": "string"
},
"ErrorExtraEncoding": {
Copy link
Member Author

@kanitw kanitw Feb 9, 2019

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

Copy link
Member Author

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.

Copy link
Member

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).

Copy link
Member Author

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?

Copy link
Member

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.

@kanitw kanitw force-pushed the kw/composite-b branch 4 times, most recently from 347a01b to ac2db0b Compare February 10, 2019 00:19
@kanitw kanitw changed the title [WIP] Don't include extra encoding for composite mark in the main encoding [WIP] Don't include extra encoding for composite mark in the main Encoding Feb 10, 2019
@kanitw kanitw changed the title [WIP] Don't include extra encoding for composite mark in the main Encoding Don't include extra encoding for composite mark in the main Encoding Feb 10, 2019
@kanitw kanitw merged commit dac9df7 into master Feb 10, 2019
@kanitw kanitw deleted the kw/composite-b branch February 10, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants