function
ValidateTaskReference
func ValidateTaskReference(reference DocumentReference) errorValidate a lifecycle-safe document reference.
Source store/task_validation.go:132
Custom TaskStore implementations should call this at their direct public boundary and still enforce the corresponding database invariants atomically.
Related types
DocumentReferenceCollection and document identity for framework-owned cleanup.