diffConfig method

  1. @override
Future<DiffResponse> diffConfig(
  1. ServiceCall call,
  2. DiffRequest request
)

Implementation

@override
Future<providerpb.DiffResponse> diffConfig(
  ServiceCall call,
  providerpb.DiffRequest request,
) async {
  final olds = StructConverter.fromStruct(request.olds);
  final news = StructConverter.fromStruct(request.news);
  final result = await provider.diffConfig(
    request.id,
    request.urn,
    olds,
    news,
  );
  return _buildDiffResponse(result);
}