You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated use {@link maxConnectionPoolSize} instead.
*/
connectionPoolSize?: number
maxConnectionPoolSize?: number
maxTransactionRetryTime?: number
loadBalancingStrategy?: LoadBalancingStrategy
maxConnectionLifetime?: number
connectionTimeout?: number
disableLosslessIntegers?: boolean
logging?: LoggingConfig
}
This resolver function isn't used immediately anywhere, it happens quite far away from the constructor. I'm guessing that the resolver referenced here is the one we're looking for:
As documented here and added to this library here, when creating a driver you can pass in a custom resolver:
With the current types, this doesn't work. You are told that
resolver
isn't a known property onConfig
.This seems fair enough, because we can see that this is the case in the type definition here:
neo4j-javascript-driver/types/v1/driver.d.ts
Lines 50 to 66 in c8d2ad9
This
resolver
function isn't used immediately anywhere, it happens quite far away from the constructor. I'm guessing that the resolver referenced here is the one we're looking for:neo4j-javascript-driver/src/internal/resolver/configured-custom-resolver.js
Lines 30 to 41 in d876a45
If so, the definition should be something like this, allowing either an array of strings or a promise resolving to an array of strings:
Hope that's useful!
The text was updated successfully, but these errors were encountered: