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

Metadata Handler methods should be provided the model #40

Closed
ceharris opened this issue Apr 26, 2016 · 0 comments
Closed

Metadata Handler methods should be provided the model #40

ceharris opened this issue Apr 26, 2016 · 0 comments

Comments

@ceharris
Copy link
Member

A metadata handler should get a reference to the model object associated with the parent container node in produceValue, and a reference to the ViewEntity that represents the model object associated with the parent container node in consumeValue.

This would allow, for example, a metadata handler to produce a value that is based on some aspect of the model. For example, the properties of the model could be digested to produce an ETag-like value for the model node. Or a metadata value could be used to update/augment the model state in some way.

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