-
Notifications
You must be signed in to change notification settings - Fork 38
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
Make Accounts Easier To Use #80
Comments
Seems like a good idea - thanks! |
I'm questioning if we can also let the |
We can't change them as it would break backwards compatibility but we can add new methods that do what you describe. |
Good point. It's not really needed, but promotes cleaner code (IMHO); maybe we can break that behaviour with v2.0 :P (and introduce new methods for those who may need the |
Yeah fair point. Reason for returning |
Makes sense to have such an helper, even thought I'm not sure about the direct use of |
Another idea for an helper: something to use in the
Again, it's not needed, but can by handy. :) |
Discussion before adding a pull request:
In my test code I have a few extension functions to make using the accounts SDK easier.
e.g. this:
allows me to do this:
Instead of this:
However, calling kotlin extension functions from Java is tricky.
Would this and other similar helper functions be better in
AccountService
/KeyManagementBackedAccountService
?See also #37
The text was updated successfully, but these errors were encountered: