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
When calling getConnectionInfo() in a ProxyExecutionListener#beforeMethod() when create() is called, a non-null DefaultConnectionInfo is returned containing a nullconnectionId.
This is confusing since it implements the ConnectionInfo interface and should be a @NonNullApi, and ConnectionInfo.getConnectionId() isn't marked with @Nullable.
Bug Report
Versions
r2dbc-proxy
1.1.5Current Behavior
When calling
getConnectionInfo()
in aProxyExecutionListener#beforeMethod()
whencreate()
is called, a non-nullDefaultConnectionInfo
is returned containing anull
connectionId
.This is confusing since it implements the
ConnectionInfo
interface and should be a@NonNullApi
, andConnectionInfo.getConnectionId()
isn't marked with@Nullable
.Steps to reproduce
Input Code
Expected behavior/code
Either initialize the
ConnectionInfo
with a valid connectionId or a@Nullable
annotation plus adjustments to the JavaDocPossible Solution
Create the connectionId earlier in
ConnectionFactoryCallbackHandler#invoke()
The text was updated successfully, but these errors were encountered: