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

Generate dynamic type-checks in Go bindings #3641

Closed
RomainMuller opened this issue Jul 1, 2022 · 2 comments
Closed

Generate dynamic type-checks in Go bindings #3641

RomainMuller opened this issue Jul 1, 2022 · 2 comments
Assignees

Comments

@RomainMuller
Copy link
Contributor

Generate dynamic type-checking code as part of the generated bindings, so that users get language-specific error messages when they fail to comply with the type requirements of members.

Since this language is statically type-checked by the compiler, runtime type-checking is only useful/necessary in places where type unions are involved (those being implemented as opaque types in the language).

@MrArnoldPalmer
Copy link
Contributor

closed via #3712

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

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

No branches or pull requests

2 participants