populationgenomics / metamist

Sample level metadata system
MIT License
1 stars 1 forks source link

Added a filter option for querying analysis by ids #804

Closed nevoodoo closed 2 months ago

nevoodoo commented 2 months ago

Quick fix that closes #701

Analyses can now be queried like:

query MyQuery {
  project(name: "your-project") {
    analyses(ids: {in_: [1,2,3,4,5]}) {
      id
      status
      type
      meta
    }
  }
}

OR

query MyQuery {
  project(name: "your-project") {
    analyses(ids: {eq: 1}) {
      id
      status
      type
      meta
    }
  }
}
codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.30%. Comparing base (ab809cd) to head (c9e0861).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #804 +/- ## ======================================= Coverage 77.30% 77.30% ======================================= Files 157 157 Lines 13010 13010 ======================================= Hits 10057 10057 Misses 2953 2953 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.