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

Consider different Go Mobile interface #460

Open
decentralgabe opened this issue Aug 31, 2023 · 0 comments
Open

Consider different Go Mobile interface #460

decentralgabe opened this issue Aug 31, 2023 · 0 comments
Assignees
Labels

Comments

@decentralgabe
Copy link
Member

          How about having the type of the parameter this function accepts be `CreateDIDKeyRequest`? According to the [documentation](https://pkg.go.dev/golang.org/x/mobile/cmd/gobind#hdr-Type_restrictions), structs are allowed.

It feels like it's a bit easier to deal with a typed object in Kotlin / Swift.

I was hoping that documentation gets automatically translated into the artifact that's created (the AAR or the Obj-C lib), but it unfortunately doesn't look like that's the case. That's unfortunate :(
To mitigate, I would say adding an example in the target language that demonstrates how to call this function would be great.

Originally posted by @andresuribe87 in #457 (comment)

@decentralgabe decentralgabe self-assigned this Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant