[ 
https://issues.apache.org/jira/browse/CASSGO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Hartig updated CASSGO-93:
-------------------------------
    Fix Version/s: 3.0

> Expose Context() on ExecutableStatement
> ---------------------------------------
>
>                 Key: CASSGO-93
>                 URL: https://issues.apache.org/jira/browse/CASSGO-93
>             Project: Apache Cassandra Go driver
>          Issue Type: Improvement
>          Components: Core
>            Reporter: James Hartig
>            Assignee: James Hartig
>            Priority: Normal
>             Fix For: 3.0
>
>
> Originally from CASSGO-92. We need to decide if it's worth breaking the 
> interface or if we'd like to just leave it as-is and force Statement() 
> callers to type check the result.
> [~joaoreis] said on GitHub
> > Yeah go for it. I'm also not sure about whether it's worth breaking the 
> > interface, I think I'd rather document how users can achieve that by type 
> > casting the object returned by {{{}Statement(){}}}. I added the 
> > {{Statement()}} method so that users could keep the functionality of type 
> > casting to {{Query}} or {{Batch}} which might be useful at times.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to