jameshartig commented on PR #1855:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1855#issuecomment-2940459886

   > I was mostly thinking about future protocol versions that might change the 
format of existing types similar to what was done to collections in v3 but IIUC 
we will be able to do it via `TypeInfo` if it is needed correct? If this is the 
case then I'm ok with it.
   
   Yeah, I wouldn't say it's perfect but given that now nothing needs to know 
the protocol version I think it's a good tradeoff between breaking the existing 
API and it still being possible.
   
   > I think changing it to MustRegisterType is a good compromise. In my mind I 
can see some users wanting to handle that error because they don't want their 
app to crash in any circumstance but I'm not sure so waiting to see if there is 
demand for it is a good idea.
   
   Yeah I went back and forth on it but ended with giving the option of getting 
an error if you wanted one.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to