performDocumentUpsert method

  1. @override
Future<void> performDocumentUpsert(
  1. DocumentUpsertRequest request
)
override

Implementation

@override
Future<void> performDocumentUpsert(DocumentUpsertRequest request) async {
  final schema = await request.document.parent.schema();
  request.inputSchema ??= schema;
  schema?.checkTreeIsValid(request.data);
  return super.performDocumentUpsert(request);
}