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

Collection instances of ToJava and FromJava should have ToJava and FromJavaconstraints on the element types #7692

Open
stephentetley opened this issue May 6, 2024 · 1 comment
Assignees

Comments

@stephentetley
Copy link
Contributor

Collection instances of ToJava and FromJava should have ToJava and FromJavaconstraints on the element types.

This will need the underlying implementations in Adaptor changing too.

Please assign to me.

@mlutze
Copy link
Member

mlutze commented May 7, 2024

Maybe native types should automatically have a ToJava instance that is just the identity function. Otherwise manipulating collections of Java types could become difficult as everything needs a trivial instance (which I think the orphan rules don't allow)

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