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 workflow resolvers #376

Merged
merged 12 commits into from
Jan 31, 2025
Merged

Refactor workflow resolvers #376

merged 12 commits into from
Jan 31, 2025

Conversation

yousefmoazzam
Copy link
Collaborator

A tentative attempt to do the refactoring mentioned in #288 (comment)

@yousefmoazzam yousefmoazzam added the rust Pull request that updates Rust code label Jan 23, 2025
@yousefmoazzam yousefmoazzam force-pushed the refactor-workflow-resolvers branch from 7d3da9c to 6d00ac0 Compare January 27, 2025 15:35
@yousefmoazzam yousefmoazzam changed the base branch from main to add-workflow-status-tests January 27, 2025 15:35
graph-proxy/src/graphql/workflows.rs Outdated Show resolved Hide resolved
graph-proxy/src/graphql/workflows.rs Outdated Show resolved Hide resolved
Base automatically changed from add-workflow-status-tests to main January 27, 2025 16:57
@yousefmoazzam yousefmoazzam force-pushed the refactor-workflow-resolvers branch from 6d00ac0 to 0b2b7d9 Compare January 29, 2025 11:10
@yousefmoazzam yousefmoazzam marked this pull request as draft January 29, 2025 11:44
@yousefmoazzam yousefmoazzam force-pushed the refactor-workflow-resolvers branch from 33702fa to 285168e Compare January 29, 2025 12:00
@yousefmoazzam
Copy link
Collaborator Author

I don't fully understand the lifetime elision rule(s) being applied to allow omission of the named lifetime annotation on the impl blocks, but I don't think it's worth me blocking review for that. I pinky promise to do some reading so then I understand it soon... 😅

@yousefmoazzam yousefmoazzam marked this pull request as ready for review January 29, 2025 12:05
@yousefmoazzam yousefmoazzam force-pushed the refactor-workflow-resolvers branch from 285168e to 4ae0ebb Compare January 29, 2025 16:11
Copy link
Member

@garryod garryod left a comment

Choose a reason for hiding this comment

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

Looking good, just a couple tiny things that could be tidied up

graph-proxy/src/graphql/workflows.rs Outdated Show resolved Hide resolved
graph-proxy/src/graphql/workflows.rs Outdated Show resolved Hide resolved
@yousefmoazzam yousefmoazzam force-pushed the refactor-workflow-resolvers branch from 666f2ae to d484744 Compare January 30, 2025 13:29
Copy link
Member

@garryod garryod left a comment

Choose a reason for hiding this comment

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

LGTM

@yousefmoazzam yousefmoazzam merged commit e4193ea into main Jan 31, 2025
30 checks passed
@yousefmoazzam yousefmoazzam deleted the refactor-workflow-resolvers branch January 31, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Pull request that updates Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants