Skip to content

Conversation

brooksmtownsend
Copy link
Member

Feature or Problem

Had some discussions with other TinyGo developers on making some of the wit-bindgen-go types more closely match expected structures in Go. Results are a little more challenging to represent, but I think it could be possible.

What are the thoughts on lightweight transformers like these? Do these belong as an x library, or should they just be code generated as an additional pass after the wit-bindgen-go run?

Opened this PR for discussion.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@lxfontes
Copy link
Member

think it makes sense.
However, I'd rather we wrap up #294 & have these helpers in the main component package. Otherwise we're asking consumers to import 3 different packages ( cm itself, component sdk, and this one ) instead of one ( component sdk ).
iirc the hold up there was wadge not being able to use a newer cm package, and it might have been solved already.

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