Skip to content

Make PropertyNameCaseInsensitive available for JSON->gRPC transcoding #50401

@JasonSmithStoneX

Description

@JasonSmithStoneX

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I am trying to make a drop-in replacement microservice that supports both REST and gRPC for an existing microservice that is REST-only, but my issue is that the current microservice is case insensitive, but grpc/json transcoding cannot be made to be.

Describe the solution you'd like

Add PropertyNameCaseInsensitive to GrpcJsonSettings
Initialize JsonSerializerOptions with this flag in JsonConverterHelper.CreateSerializerOptions()

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-grpcIncludes: GRPC wire-up, templates

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions