ParseError with Domain Model Schema in RPC Procedure Success Schema
Trying to use the domain model schema as the RPC procedure success schema throws
The RPC definition:
The error:
Do I need to create a new schema for the request success? Or should I transform it somehow? The only approach that worked for sure was using
ParseError when serializing the result on the client:The RPC definition:
The error:
Do I need to create a new schema for the request success? Or should I transform it somehow? The only approach that worked for sure was using
Schema.Union(Schema.DateTimeUtc, Schema.DateTimeUtcFromDate).