Skip to content

Conversation

brianzhang2101
Copy link
Contributor

Moving the construction of contexts outside of Get___Repo() functions into a parameter instead. This fixes a use case where uninitialised Repos have a cyclical dependency on TestingContext (It's required to be defined, but cannot be at the same time).

@brianzhang2101 brianzhang2101 self-assigned this May 25, 2023
@brianzhang2101 brianzhang2101 requested a review from hdphuong as a code owner May 25, 2023 04:42
Copy link
Member

@Varun-Sethu Varun-Sethu left a comment

Choose a reason for hiding this comment

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

Looks good to me! Make sure some of the endpoints still work though

@brianzhang2101 brianzhang2101 merged commit dcbab6a into main May 29, 2023
@brianzhang2101 brianzhang2101 deleted the context-refactor branch May 29, 2023 09:40
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.

3 participants