Skip to main content

schema_hash

Function schema_hash 

Source
pub fn schema_hash(schema: &Value) -> String
Expand description

Compute a SHA-256 hash of a schema Value.

Call this once per schema group and pass the result to ValidationCache::lookup and ValidationCache::store.