Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for multi-account mutations
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f593203
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a good idea. Do you want to submit it as a PR? I actually thought it might make sense to make
iban
the first argument tomutations()
, and possibly mandatory rather than optional.f593203
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I'll send a PR. The change you proposed sounds absolutely reasonable, though it breaks backwards compatibility. If we were to do that, I'd definitely make
iban
mandatory otherwise existing (old) code would confuseiban
forlast_key
causing runtime bugs. What are your thoughts @djc, makes sense to go ahead with it?f593203
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not that worried about backwards compatibility at this stage, there probably aren't that many people using it. I'll also write up a changelog for the 0.2 release to describe the change. So yes, please go ahead (and make
iban
mandatory)!f593203
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. Sending a PR then..