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

GQL-43: Adds revisionDate, createdAt and productionDate granule parameters. Adds revisionDate granule field #148

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

macrouch
Copy link
Contributor

Overview

What is the feature?

Adds revisionDate, createdAt and productionDate granule parameters.
Adds revisionDate granule field

What areas of the application does this impact?

Granule queries

Testing

Add/remove the different variables to test each parameter

Query

query Granules($params: GranulesInput) {
  granules(params: $params) {
    count
    items {
      conceptId
      timeEnd
      timeStart
      revisionDate
    }
  }
}

Variables

{
  "params": {
    "provider": "ASF",
    "createdAt": "2020-01-01,2020-01-02",
    // "productionDate": "2020-01-01,2020-01-02",
    // "revisionDate": "2020-01-01,2020-01-02",
    // "temporal": "2020-01-01,2020-01-02",
    // "updatedSince": "2020-01-01"
  }
}

Checklist

  • I have added automated tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

… granule parameters. Adds revisionDate granule field
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (91dc671) to head (54d7a45).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #148   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          106       106           
  Lines         2410      2410           
  Branches       273       273           
=========================================
  Hits          2410      2410           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@macrouch macrouch merged commit 165e167 into main Nov 14, 2024
7 of 8 checks passed
@macrouch macrouch deleted the GQL-43 branch November 14, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants