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

Catch all query #1616

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Catch all query #1616

merged 1 commit into from
Feb 5, 2025

Conversation

cquiroz
Copy link
Contributor

@cquiroz cquiroz commented Feb 5, 2025

No description provided.

@mergify mergify bot added the client label Feb 5, 2025
Copy link
Contributor

@toddburnside toddburnside left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cquiroz cquiroz merged commit 6c2f726 into main Feb 5, 2025
10 checks passed
@cquiroz cquiroz deleted the query-update branch February 5, 2025 17:54
@@ -17,7 +17,7 @@ object ObsQueriesGQL {
// Revise this when the API supports it OR we start getting obersvations from the scheduler.
val document = s"""
query {
observations(WHERE: {program: {proposalStatus: {EQ: ACCEPTED}}}) {
observations() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually something like:

WHERE: {
  program: {
    OR: [
      { proposalStatus: { EQ: ACCEPTED } },
      { type: { NEQ: SCIENCE } }
    ]
  }
}

perhaps.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close. But I think we only want ENGINEERING and CALIBRATION programs, not LIBRARY, etc. I'll put in a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants