[Cubicweb] ClientConnection/Connection

Christophe de Vienne christophe at unlish.com
Fri May 8 15:51:05 CEST 2015


Our messages crossed each-other.

The motivation is to be 3.21-ready.

I guess it will provide a bw-compat repoapi.ClientConnection()? or will
I need to detect the version ?

Cheers,

Christophe

Le 08/05/2015 15:44, aurélien campéas a écrit :
> 
> 
> 2015-05-08 11:30 GMT+02:00 Christophe de Vienne <christophe at unlish.com
> <mailto:christophe at unlish.com>>:
> 
>     Hi everyone,
> 
>     In pyramid_cubicweb, request.cw_cnx is a ClientConnection.
> 
>     From what I understand, ClientConnection and Connection will be folded
>     to Connection in future version (3.21 ?).
> 
>     So I am about to use Connection instead of ClientConnection: is it a
>     good move ? Any advice before doing it ?
> 
> 
> Why not wait for cw 3.21 ? Unfortunately, some api elements currently
> live only on the client cnx. IIRC the undo features.
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20150508/bfa4d367/attachment-0214.sig>


More information about the Cubicweb mailing list