-
Notifications
You must be signed in to change notification settings - Fork 0
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
Multi Provider #1
base: main
Are you sure you want to change the base?
Conversation
ajwootto
commented
May 2, 2024
•
edited
Loading
edited
- WIP draft of vendor migration / meta / multi / omega provider based on the original PR
}; | ||
|
||
export class MultiProvider implements Provider { | ||
readonly runsOn = 'server'; |
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.
I guess this brings up the question (probably fo the OF folks), should this be named the ServerMultiProvider
?
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.
that wouldn't match the other provider naming conventions used in this repo, where an "unqualified" name seems to be assumed to mean "server", and web providers add "web" to the name
provider: Provider; | ||
}; | ||
|
||
export class MultiProvider implements Provider { |
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.
More general thoughts:
- Might need some object types to encapsulate passing around so many params between methods.
- Can or should the handler / status / hooks code be moved to other classes?
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.
not really sure about the status thing, it's pretty intertwined with the rest of what's in here so it might be kind of an unnecessary indirection to move it
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.
actually i tried moving it and it wasnt that bad
667c018
to
bb17e3f
Compare
Signed-off-by: Todd Baert <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2a8f2df
to
30245ad
Compare
Signed-off-by: Todd Baert <[email protected]>
c0b15b0
to
bf161e0
Compare
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#920) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
Signed-off-by: Adam Wootton <[email protected]>
17d23f7
to
271ca0e
Compare
Signed-off-by: Adam Wootton <[email protected]>
271ca0e
to
1b15cef
Compare