vaticle / typedb-driver

TypeDB Drivers for Rust, Python, Java, Node.js, C, C++, and C#.
https://typedb.com
Apache License 2.0
30 stars 32 forks source link

Add alternatives for time zone based BDD steps for languages with no (or limited) support of time zone change #636

Open farost opened 2 months ago

farost commented 2 months ago

Problem to Solve

Some languages do not support setting time zones via the language itself (cpp is limited to POSIX, csharp doesn't support it at all, ...). It makes our BDD tests that use step set time-zone no-op, and we don't have a specific opinion on it at the moment.

Proposed Solution

Options:

  1. Find alternatives for the languages that do not support such features. Fix the steps with time zones for these languages.
  2. Come up with an overall decision if we are okay to just ignore these steps in some rare languages and remove TODOs. Consider other ways of checking that drivers DateTimes conversions are independent of time zones.