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

What to do when no constructor is specified in the IDL? #246

Closed
jhugman opened this issue Aug 14, 2020 · 1 comment · Fixed by #250
Closed

What to do when no constructor is specified in the IDL? #246

jhugman opened this issue Aug 14, 2020 · 1 comment · Fixed by #250

Comments

@jhugman
Copy link
Contributor

jhugman commented Aug 14, 2020

If no constructors are given in the IDL, uniffi fails.

This issue is for tracking discussion for what we should do in this case. For developer ergonomics, I would suggest defaulting to a noarg default constructor.

Found as part of #175 but may be fixed during #37.

┆Issue is synchronized with this Jira Task

@rfk
Copy link
Collaborator

rfk commented Aug 17, 2020

For developer ergonomics, I would suggest defaulting to a noarg default constructor.

This makes a lot of sense to me FWIW 👍

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 a pull request may close this issue.

2 participants