I wanna do something like the /done wipbot command. Currently, I'm using a simple curl request, so I can't calculate the current time. Is there something in the GraphQL spec that lets you pass the current datetime?
You can either specify the completed_at attribute when creating a todo or use the completeTodo(id: ID!): Todo mutation afterwards. The latter will use the current time.
GraphQL assigns the
created_at
value automatically.You can either specify the
completed_at
attribute when creating a todo or use thecompleteTodo(id: ID!): Todo
mutation afterwards. The latter will use the current time.