Tag: automapper

  • Automapper protobuf datetime to timestamp c#

    Hi everyone, I ran into the following error tonight while attempting to use automapper to map a datetime field to a protobuf timestamp property: automapper missing type map “DateTime -> Timestamp” To fix it, add the following to your mapping profile: CreateMap().ConvertUsing(x => x.ToTimestamp()); UPDATE: I later hit a similar error parsing a different entity:…

Create a website or blog at WordPress.com