Closed filips123 closed 1 year ago
Actually, I think the problem is that the field was storied as string instead of the date type. This issue is probably invalid, but I think the error messages should still be improved.
From the docs linked in the tooltip, the type for native timestamps is time.Time
, so the error message is correct *time
is not a valid type. If there's a way of phrasing it that you think would be more intuitive, I'd be happy to consider changing it.
Prefixing field type with
*
to annotate a nullable field does not work. I've tested this both with v0.2.0+rc3 and v0.1.2.This is how a part of a record looks:
When I set
updated
's field type totime
, I get this error in Grafana:The same happens when I try to prefix field name with
*
. When I set the type to*time
instead, I this error happens: