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

Refactor code so that the git repo to use is controlled by the UI and is passed into the API #95

Merged
merged 6 commits into from
Oct 26, 2021

Conversation

justinlampley
Copy link
Collaborator

This refactor pulls out the git repo configuration from the API layer and moves it to the UI so the UI can request data from multiple repositories. It also moves the taq exclusion out of the GitHubClient and makes it a configurable property on the repository class.

@justinlampley justinlampley force-pushed the TXBackpack branch 2 times, most recently from bf5e094 to be78c40 Compare October 23, 2021 04:54
this.config.git.repositoryName
);
async gitBranches(
@Arg('owner') owner: string,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could have a shared args class across all these methods, but it is up to you.

… instead of being part of other args and inputs.
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.

2 participants