-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add client-side GraphQL handling (#2219)
Apollo is currently the most popular GraphQL client and caching library. This PR eliminates my prior attempt at creating a custom GraphQL client, and sets up Apollo for future use. As a proof-of-concept, I switched `/projects` to a GraphQL backend to demonstrate Apollo's pagination features. While doing so, I added Luxon for easy client-side date handling. Since the API endpoint for `/projects` is no longer used, I have marked it as deprecated, with final removal scheduled for CDash 4.0. Users of this endpoint are advised to use the GraphQL API instead. Reviewers can see the pagination functionality in action by changing the `default_count` value in `/config/lighthouse.php` to a small value. --------- Co-authored-by: Shelly Belsky <[email protected]> Co-authored-by: Zack Galbreath <[email protected]>
- Loading branch information
1 parent
79af657
commit 95bdb34
Showing
18 changed files
with
668 additions
and
321 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
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.