Skip to content

Conversation

@lxfontes
Copy link
Member

Wraps all cm types in a local package.

The local cm is a basic re-export from upstream, locking it to a known supported version.

Consumers have 2 options:

  • [new] Use the new component-bindgen-go and have the component-sdk pick a compatible cm package;
  • [existing] Use the upstream wit-bindgen-go and manage cm package versioning via go.mod. generated code and cm package point to different cm packages.

I've updated a single example to show the difference and can update the remaining if this direction sems sound.

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 super reasonable to me 👍🏻

@lxfontes
Copy link
Member Author

continuing in another PR

@lxfontes lxfontes closed this Apr 22, 2025
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.

2 participants