Closed LauLaman closed 7 years ago
This sounds and looks interesting 🤔, what do you think @dnl-blkv @andrederoos
@LauLaman Thanks for the suggestion. We definitely have it on our list since a day before the first line of SDK code was written. However, it is quite a big change. Also, due to specifics of our SDK building process it is not something community can build.
We will do it, but later on. Closing for now :)
I think using
array
s for mapping is a bad practice. It makes more sense to create an object for this:Using this approach you restrict the programmer to fill in all the required fields, and prevent making invalid API calls.
It adds more structure to the project and gives the ability to run better tests :)
you can even unit test the whole thing now: