There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?

1

Closed

Provide a public way of generating the hash over a model used for view generation

description

The validity of a set of discovered pre-generated views depends on the model hash persisted alongside the views matching the hash computed against the current state of the model.

Having the ability to generate the hash together with the views themselves and to validate the hash inside the discovery code is enough for the runtime to work, but any tooling we can build to make the experience better could use a public API to obtain the
hash of the model without having to compute the views.

Once we have this public API it can be handy as a fast way to compare models for equality in other scenarios.