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

VisualChannel doesn't deal with a mapping to an optional property #43

Open
heckj opened this issue May 31, 2022 · 0 comments
Open

VisualChannel doesn't deal with a mapping to an optional property #43

heckj opened this issue May 31, 2022 · 0 comments
Assignees

Comments

@heckj
Copy link
Member

heckj commented May 31, 2022

Currently Chart's visualChannel setup doesn't handle optional values within KeyPaths. For example, \.something that's a Double is fine, but one that's Double? isn't.

While messing around with CodableCSV, I found it useful to want to reference an optional property, with the goal of skipping the data if it returned nil, but that seems... to not be working at the moment.

@heckj heckj self-assigned this May 31, 2022
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

No branches or pull requests

1 participant