nice-grpc-server-reflection
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -111,2 +111,8 @@ "use strict"; | ||
} | ||
case reflection_pb_1.ServerReflectionRequest.MessageRequestCase | ||
.ALL_EXTENSION_NUMBERS_OF_TYPE: | ||
{ | ||
const type = request.getAllExtensionNumbersOfType(); | ||
return new reflection_pb_1.ServerReflectionResponse().setAllExtensionNumbersResponse(new reflection_pb_1.ExtensionNumberResponse().setBaseTypeName(type)); | ||
} | ||
} | ||
@@ -113,0 +119,0 @@ return new reflection_pb_1.ServerReflectionResponse().setErrorResponse(new reflection_pb_1.ErrorResponse() |
{ | ||
"name": "nice-grpc-server-reflection", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Server reflection for nice-grpc", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "44e6462e3fd71bfbf2aa6a8717575f406baa75c2" | ||
"gitHead": "bec53a1849667efcfc07bd90b4dafff6020e2e0a" | ||
} |
@@ -13,2 +13,3 @@ import {ServiceImplementation, Status} from 'nice-grpc'; | ||
ErrorResponse, | ||
ExtensionNumberResponse, | ||
FileDescriptorResponse, | ||
@@ -193,2 +194,11 @@ ListServiceResponse, | ||
} | ||
case ServerReflectionRequest.MessageRequestCase | ||
.ALL_EXTENSION_NUMBERS_OF_TYPE: { | ||
const type = request.getAllExtensionNumbersOfType(); | ||
return new ServerReflectionResponse().setAllExtensionNumbersResponse( | ||
new ExtensionNumberResponse().setBaseTypeName(type), | ||
); | ||
} | ||
} | ||
@@ -195,0 +205,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194420
4368