Closed chacha912 closed 1 week ago
Hello! I've identified an issue that needs fixing:
While working on this pull request, I realized that updated_at
is only being updated when there's an operation
in Change
. This explains why updatedAt
isn't set when a document is created.
I apologize for my mistake and will fix it immediately.
@window9u There's no need to be sorry. It seems natural that bugs are created due to changes. I'll wait for your PR.
What happened:
When creating a new document through the dashboard example, the
updatedAt
value is not displaying correctly in the document list. (Ref: https://github.com/yorkie-team/dashboard/issues/99)What you expected to happen:
When a document is first created, the
updatedAt
should be set to the same value ascreatedAt
. Reasons for this approach:updatedAt
value from the moment of creation.How to reproduce it (as minimally and precisely as possible):
updatedAt
value is not correctly setAnything else we need to know?:
Environment:
yorkie version
): 0.4.30