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

ObservableArray and Namespace #942

Open
bathos opened this issue Nov 29, 2020 · 0 comments
Open

ObservableArray and Namespace #942

bathos opened this issue Nov 29, 2020 · 0 comments

Comments

@bathos
Copy link
Contributor

bathos commented Nov 29, 2020

The part of the attribute getter algorithm responsible for returning the backing OAEO is only reachable for attributes whose target is an interface. However it doesn’t seem like anything forbids the regular attributes of namespaces from having ObservableArray as their type.

It seems like either:

  1. the constraints for where ObservableArray is usable should say “...of interfaces” or
  2. 1.1.2.4 of create an attribute getter should be lifted up to be between 1.1.2 and 1.1.3.

(Though I’m not sure which is what was intended.)

Edit: seems like it probably should be the first, since the backing array is keyed by the target object. This would seem to imply a namespace member that exhibits branding, which seems undesirable.

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

1 participant