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
5454 /// The enum values above will be read and written as <c>UNKNOWN</c> and <c>OK</c> instead of <c>STATUS_UNKNOWN</c>
5555 /// and <c>STATUS_OK</c>.
5656 /// </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>
5765 /// </remarks>
5866 public bool RemoveEnumPrefix { get ; set ; }
5967}
You can’t perform that action at this time.
0 commit comments