Closed mattmassicotte closed 1 year ago
Actually, ssl.verifyFlag = nil
means cass_ssl_set_verify_flags
doesn't get called, so the DataStax driver will use the default, which is CASS_SSL_VERIFY_PEER_CERT
.
+1 on making verifyFlag
non-optional. I am adding .default
case to the enum. See https://github.com/apple/swift-cassandra-client/pull/15
Fantastic!
The following code produces a warning:
This is because
verifyFlag
is optional. Given that it is an enum, I'm going to guess thatnil
is equivalent tonone
anyways. What do you think about making this field non-optional?