digitalocean-js
digitalocean-js copied to clipboard
Input Validation
For methods that take input (e.g. attachVolumeToDroplet
) make sure to validate that the right properties are provided, particularly the required ones.
Did this in the Load Balancer service as a test, and liked how it worked out.
https://github.com/jbw91/digitalocean-js/blob/master/src/lib/services/load-balancer-service.ts#L398-L427
@johnbwoodruff Just wanted to let you know how much I appreciate this lib! Very well documented, intellisense could not be any better, everything I am using is working flawlessly. By far the best DO API wrapper, thank you!
@felix-voicehub super happy to hear that! Those are exactly the reasons I wanted to build this as opposed to use one of the existing ones. Thanks so much for dropping a note! Please open an issue if you find ways that it's not filling your needs or if anything isn't working as expected!