Sanity Library Reference Docs
    Preparing search index...

    Type Alias TypeAnnotationMismatchError

    This error may happen if the _type of the value is different from the declared schema type It represents a case where we encounter field value that is structurally compatible with the field's defined schema type (e.g. they are both json objects), but the _type name is different from what the schema type expects

    Note on compatibility: The schema of a field may be defined as an object with fields (a, b, c), but the value is an object with (d, e, f) These are still structurally compatible because (d, e, f) will be considered undeclared members