-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(metadata-models) bridge gaps between graphql and pegasus models #10692
Conversation
/** | ||
* Attributes defining a CRON-formatted schedule. | ||
*/ | ||
record CronSchedule { |
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.
Is this used anywhere?
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.
The front end uses it for typing in a handful of places and it's used in SaaS for the backend in AssertionEvaluationSpec. I thought it'd be better to pull this model in for future uses too than try to refactor frontend on both OSS/SaaS to map CronSchedule from the backend type to a new frontend CronSchedule type.
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.
makes sense
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
Checklist