File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/Grpc/JsonTranscoding/src/Microsoft.AspNetCore.Grpc.JsonTranscoding Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ public sealed class GrpcJsonSettings
54
54
/// The enum values above will be read and written as <c>UNKNOWN</c> and <c>OK</c> instead of <c>STATUS_UNKNOWN</c>
55
55
/// and <c>STATUS_OK</c>.
56
56
/// </para>
57
+ /// <para>
58
+ /// The Protobuf JSON specification requires enum values in JSON to match enum fields exactly.
59
+ /// Enabling this option may reduce interoperability, as removing enum prefix might not be supported
60
+ /// by other JSON transcoding implementations.
61
+ /// </para>
62
+ /// <para>
63
+ /// For more information, see <see href="https://protobuf.dev/programming-guides/json/"/>.
64
+ /// </para>
57
65
/// </remarks>
58
66
public bool RemoveEnumPrefix { get ; set ; }
59
67
}
You can’t perform that action at this time.
0 commit comments