You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "worryg0d (via GitHub)" <gi...@apache.org> on 2025/03/31 11:34:25 UTC
Re: [PR] CASSGO-22 Changes to Query and Batch to make them safely reusable [cassandra-gocql-driver]
worryg0d commented on PR #1868:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1868#issuecomment-2765957642
> I'm concerned that renaming this interface will increase the chance users will have to change their code when upgrading the driver but I do agree that the current name isn't good.
We can add a type alias to leave the `ExecutableQuery` name for the migration period:
```go
// Deprecated: Will be removed in the future major release.
// Please use Statement instead.
type ExecutableQuery = Statement
type Statement interface {
...
}
```
I tested it on go 1.19.13 and it works fine
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org