kensho-technologies/graphql-compiler

Tz-aware inputs for tz-naive fields are allowed

bojanserafimov opened this issue · 0 comments

If a database field is tz-naive, using tz-aware filter values should be disallowed since there's no sane way to interpret them that is not a footgun.

One way to solve this is to make tz-naive and tz-aware datetimes separate GraphQL types.