-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
7d3da9c
to
6d00ac0
Compare
6d00ac0
to
0b2b7d9
Compare
33702fa
to
285168e
Compare
I don't fully understand the lifetime elision rule(s) being applied to allow omission of the named lifetime annotation on the |
`Workflow` now has all user-defined resolver functions. The resolver function which needs to pass along information from the workflow manifest clones the `Arc` wrapping the workflow manifest and passes that.
This causes two failing tests relating to the failure to fetch missing info from the argo server response.
285168e
to
4ae0ebb
Compare
There was a problem hiding this 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
666f2ae
to
d484744
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
A tentative attempt to do the refactoring mentioned in #288 (comment)