When an object is retrieved directly (db.posts.queryPost('1')), its DateTime properties will be UTC. If this same object is accessed via an object that has a relation to it (user.posts.singleWhere((post) => post.id == '1')), its DateTime properties will not be UTC.
See https://github.com/bryanoltman/stormberry_error_repro for an example that reproduces this issue.
When an object is retrieved directly (
db.posts.queryPost('1')), its DateTime properties will be UTC. If this same object is accessed via an object that has a relation to it (user.posts.singleWhere((post) => post.id == '1')), its DateTime properties will not be UTC.See https://github.com/bryanoltman/stormberry_error_repro for an example that reproduces this issue.