Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
Describe the bug
Cannot write DateTime with Kind=Unspecified to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array/range. See the Npgsql.EnableLegacyTimestampBehavior AppContext switch to enable legacy behavior. Request failed with Status Code 200 and Error Id 68616e41-69d8-4d36-a05b-30ca142eb264.
Describe the bug Cannot write DateTime with Kind=Unspecified to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array/range. See the Npgsql.EnableLegacyTimestampBehavior AppContext switch to enable legacy behavior. Request failed with Status Code 200 and Error Id 68616e41-69d8-4d36-a05b-30ca142eb264.
This is a known breaking change in Npgsql 6.0, please see https://www.npgsql.org/doc/types/datetime.html and https://github.com/npgsql/efcore.pg/issues/2000
To Reproduce Steps to reproduce the behavior:
Stack Trace