Skip to content
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

Add configurability to checks commands #225

Merged
merged 10 commits into from
Feb 8, 2021
Merged

Conversation

JakeDawkins
Copy link
Contributor

@JakeDawkins JakeDawkins commented Feb 2, 2021

This PR adds the configuration options for checks commands, similar to the original apollo options. I also added a parser for the values, so the validation logic could be shared between the two

Notes:

  • I decided not to support the ISO duration format for the validation period flag that the old cli supported. I couldn't easily figure out how to parse that format with chrono, but I'm also not certain it's necessary. It, after all, is just a prettier format of number of seconds for our use case.

@JakeDawkins JakeDawkins added changelog - feature feature 🎉 new commands, flags, functionality, and improved error messages labels Feb 2, 2021
@JakeDawkins JakeDawkins changed the title Add configurability to checks commands WIP: Add configurability to checks commands Feb 2, 2021
@JakeDawkins JakeDawkins changed the title WIP: Add configurability to checks commands Add configurability to checks commands Feb 4, 2021
This was linked to issues Feb 5, 2021
src/command/graph/check.rs Show resolved Hide resolved
src/command/graph/check.rs Outdated Show resolved Hide resolved
src/command/graph/check.rs Outdated Show resolved Hide resolved
src/command/graph/check.rs Outdated Show resolved Hide resolved
src/command/graph/check.rs Show resolved Hide resolved
src/utils/parsers.rs Outdated Show resolved Hide resolved
src/utils/parsers.rs Outdated Show resolved Hide resolved
src/utils/parsers.rs Outdated Show resolved Hide resolved
src/utils/parsers.rs Outdated Show resolved Hide resolved
src/utils/parsers.rs Show resolved Hide resolved
@JakeDawkins JakeDawkins merged commit 0c490cf into main Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 new commands, flags, functionality, and improved error messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: check query count threshold feat: check validation period
3 participants