Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new domain model for github contents tree
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