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

Using [ and ] in field names no longer works #4965

Open
fedarko opened this issue May 16, 2019 · 0 comments
Open

Using [ and ] in field names no longer works #4965

fedarko opened this issue May 16, 2019 · 0 comments

Comments

@fedarko
Copy link

fedarko commented May 16, 2019

#3007 provides this example spec to show how to use field names that contain periods and brackets. However, this no longer seems to work: if you load this example in the Vega editor, nothing displays. (This happens both with the Vega-Lite v2 schema—which was specified in the example—and with the v3.2.1 schema.)

Also, trying to escape the source[yes] name by enclosing it in brackets as described here ([source[yes]]) fails as well—that gives you an error that says Access path missing open bracket: [source[yes]].

Here's a version of the schema where all I changed was removing the brackets (so now the y-field is sourceyes). As you can see, the plot now displays correctly (albeit with a single backslash in the source\.reco field name, which isn't ideal).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants