forked from Brunastephane/MLA-pilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphQL schema for exercises aggregated by week (#27)
* update query to return weekly aggregated exercises * updated graph ql schema with weekly aggregated stats * updating rest api views to use query * naming the graphql query following best practices * Adjusting graphql schema totalDistance field to be Float type * using graphql endpoint to query for weekly journal data * formatting logger in graphql endpoint * updated data with new exercise schema fields * test to check new query * reverting change in journal * fix for graphql schema loading on the playground - includes changes to journal and statistics pages to access the right data as response.data.data (redundant but it is how graphql server returns data) - updated tests to use new path to access stats
- Loading branch information
1 parent
6e32b50
commit a8aabbd
Showing
7 changed files
with
1,445 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.