-
Notifications
You must be signed in to change notification settings - Fork 44
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
internal/v1: export snapshot date #1406
base: main
Are you sure you want to change the base?
Conversation
164327e
to
54814c1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
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.
Thanks @avitova ! I think it's great 👍 Would love to hear @croissanne opinion before merge tho :)
type: string | ||
description: | | ||
Importing the snapshot date will not yet be supported. It is exported for informative reasons. | ||
The format is YYYY-MM-DD. |
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.
Isntt there a date type in OpenAPI JSON Schema?
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.
Might be, but I would probably leave this in the same format that we have in the image requests snapshot_date
field for consistency.
54814c1
to
e374cd6
Compare
I started a conversation about importing and exporting snapshot dates. Our team thought that it would be convenient to export the snapshot date. We might have a follow-up discussion about importing it as well, but there are some issues that we need to handle.
In the wizard, we currently do not limit how much in the history the user can pick the snapshot date, so maybe we can just import it as is on the front end. @croissanne ? But then, users also import custom repositories, and they would most likely not have that snapshot from the history.
The discussion's outcome was to keep the feature without importing the snapshot date, but we will keep that option for the future. What do we think? We can mention somewhere that this value is not being imported.