Closed sh-dave closed 4 years ago
To connect to a database in azure, SSL options might be required. Using an empty ssl: {} already did the trick for me and typing the whole node tls-options mentioned here felt like overkill for now so i went with Any.
ssl: {}
Any
I guess you can just use https://github.com/HaxeFoundation/hxnodejs/blob/506d4ed3be1ba47e2fd1b5b83f010745d585392f/src/js/node/tls/SecureContext.hx#L27
Is haxe.extern.EitherType not working for you or for any reason this custom abstract is needed?
haxe.extern.EitherType
Yes, i didn't know about it until now :sweat_smile:
Thanks!
To connect to a database in azure, SSL options might be required. Using an empty
ssl: {}
already did the trick for me and typing the whole node tls-options mentioned here felt like overkill for now so i went withAny
.