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

feat(provider-sdk): add support for init() #1676

Conversation

vados-cosmonic
Copy link
Contributor

Feature or Problem

This commit adds support for a implementer-provided provider initialization hook that provider-sdk can call during initialization.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Copy link
Member

@brooksmtownsend brooksmtownsend 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 👍🏻 I'd like to see us hook into this function in the future rather than loading host data in our providers to show when you'd use it

crates/provider-sdk/src/lib.rs Outdated Show resolved Hide resolved
@vados-cosmonic vados-cosmonic force-pushed the feat(provider-sdk)=add-init-method branch from 34ba4c9 to d0dea2a Compare March 14, 2024 18:41
This commit adds support for a implementer-provided provider
initialization hook that `provider-sdk` can call during
initialization.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@vados-cosmonic vados-cosmonic force-pushed the feat(provider-sdk)=add-init-method branch from d0dea2a to b0a2f2f Compare March 25, 2024 17:47
@vados-cosmonic vados-cosmonic merged commit c610c84 into wasmCloud:main Mar 25, 2024
42 checks passed
@vados-cosmonic vados-cosmonic deleted the feat(provider-sdk)=add-init-method branch March 25, 2024 18:16
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.

None yet

3 participants