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.
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.