Challenge: Applying Nullable Types
Test yourself by converting non-nullable scalar value types into nullable data types.
We'll cover the following
Overview
Using the project below, perform the tasks highlighted in the requirements section.
Requirements
The code widget below contains Protobuf files with all message fields defined as scalar value types, which are not nullable. We will need to convert all the fields in the ChatRequest
and ChatReply
into their nullable equivalents. We'll need to do it both in the BasicGrpcClient
and BasicGrpcService
project. After it's done, we must make any additional code changes to ensure it still compiles and runs.
Get hands-on with 1400+ tech skills courses.