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

Nullable ObservableArray attributes are not supported #1337

Open
domenic opened this issue Jul 3, 2023 · 1 comment
Open

Nullable ObservableArray attributes are not supported #1337

domenic opened this issue Jul 3, 2023 · 1 comment
Assignees

Comments

@domenic
Copy link
Member

domenic commented Jul 3, 2023

The attribute getter (and setter) steps for observable array attributes don't really work if the attribute is nullable.

We need to allow:

  • Spec writers to return null from such attributes
  • Spec writers to react to web developers nulling out such attributes (including rejecting such a set)
@domenic domenic self-assigned this Jul 3, 2023
@bathos
Copy link
Contributor

bathos commented Jul 4, 2023

Currently ObservableArray<T> is expressly forbidden as a nullable type’s inner type, so they’re not yet supported at all, I think.

@annevk annevk changed the title Nullable ObservableArray attributes are not well supported Nullable ObservableArray attributes are not supported Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants
@domenic @bathos and others