According to the go database/sql documentation interfaces Queryer and Execer are deprecated. Current approach implemented in aws-xray-sdk-go checks interface compliance at the very top of the QueryContext and ExecContext. This seems to be incorrect, as the underlying driver implements the contextual methods it will never be called due to the fact that the processing will be terminated with an error driver.ErrSkip.
According to the go database/sql documentation interfaces Queryer and Execer are deprecated. Current approach implemented in aws-xray-sdk-go checks interface compliance at the very top of the QueryContext and ExecContext. This seems to be incorrect, as the underlying driver implements the contextual methods it will never be called due to the fact that the processing will be terminated with an error
driver.ErrSkip
.