Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Connection.validate(…) method #94

Closed
wants to merge 1 commit into from
Closed

Add Connection.validate(…) method #94

wants to merge 1 commit into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented May 23, 2019

Connection exposes with validate(ValidationDepth) a method for driver-side connection validation. ValidationDepth signals whether it is a local-only validation without incorporating remote communication or whether a full remote validation should be performed.

Drivers typically either check the local connection state or send a database message, query or any other mechanism, to validate the connection.

See #54.

Merging this PR will break drivers because they have to implement a new method.

Connection exposes with validate(ValidationDepth) a method for
driver-side connection validation. ValidationDepth signals whether
it is a local-only validation without incorporating remote communication
or whether a full remote validation should be performed.

Drivers typically either check the local connection state or
send a database message, query or any other mechanism, to validate
the connection.
@gregturn
Copy link
Contributor

Resolved via b6f479e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants