Skip to content

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jul 27, 2022

@duaneatat Some changes to your PR so that it validates, but when I add these files into #1005, everything breaks.

The reason, I suspect, is that some value accessors are legitimately not DatumKeys, even if the datum is a {key:value} object. For example, in Plot.dotX([{value: 10}], {fill: "red", x: "value"}) the fill accessor is legal.

@Fil Fil requested a review from duaneatat July 27, 2022 12:12
@duaneatat
Copy link
Contributor

Ah, we should add string & {} to allow arbitrary strings (or enumerate the colors) to ValueAccessor

@Fil
Copy link
Contributor Author

Fil commented Jul 27, 2022

I've added some of the changes you made, as well as unit tests, to the fil/ts-options branch (#1008).

Base automatically changed from duane/ts-options to fil/ts-options July 30, 2022 14:39
@Fil
Copy link
Contributor Author

Fil commented Jul 30, 2022

obsolete

@Fil Fil closed this Jul 30, 2022
@Fil Fil deleted the fil/ts-options-2 branch July 30, 2022 14:41
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.

2 participants