joao-r-reis commented on PR #1870:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1870#issuecomment-2792567396

   > Cool! What do you think about adding custom data to a query/batch that is 
passed to observers? We use a context.WithValue() to pass query names to 
observer, but this approach can lead to errors because engineers can use the 
same context for different queries. Would be great to have an approach when 
data is assigned for individual queries.
   
   This seems like a reasonable feature request but I'd recommend creating a 
new issue for this as it seems unrelated to this one. I'm handling the current 
one in #1868 by adding the original query/batch objects to the `Observed...` 
types.


-- 
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-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to