-
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.
Add service and handers for getting PR-based pages
This provides access to the pages that are built automatically by the GitHub Check run handlers for a GitHub pull request. - New PageService.get_github_pr_page - New /github-pr/ endpoints, similar to the existing /github/ endpoints, but have the PR's head commit SHA in the path to show pages for a specific PR check run - Revised GitHubTree domain model. The new domain model separates path segments (which are used to add nodes relative to other nodes) from the Squareone URL path. This dramatically simplifies the tree domain construction and makes it possible to use the same domain object for PR preview trees as well. The new GitHubNode is a dataclass; in the REST API we transform that dataclass into a Pydantic model for the response.
- Loading branch information
1 parent
6b14f9b
commit d5e1759
Showing
6 changed files
with
640 additions
and
99 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
Oops, something went wrong.