-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[content-nodes] Add a log and update the doc for lastUpdatedAt
#9969
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I missed something, but IMO we should log only if set; otherwise LGTM
@@ -308,6 +308,12 @@ async function handler( | |||
mimeType = r.data.mime_type; | |||
title = r.data.title; | |||
} else { | |||
// TODO(content-node): get rid of this once the use of timestamp columns in core has been rationalized | |||
logger.info( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should log only if set, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also do we have the workspace id in the log? important if we need to warn them we change the field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the log if timestamp not set, added the workspace ID and dataSource sId
front/public/swagger.json
Outdated
@@ -3296,8 +3296,8 @@ | |||
}, | |||
"/api/v1/w/{wId}/spaces": { | |||
"get": { | |||
"summary": "List Workspace Spaces", | |||
"description": "Retrieves a list of spaces for the authenticated workspace.", | |||
"summary": "List Spaces accessible.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: english: "List available spaces"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 left a nit
69f421a
to
2e9d9cc
Compare
Description
/api/v1
to discourage the use of timestamp in upserted documents/tables.Risk
Deploy Plan