go/zodb: RegisterClass: Prevent double registration of a type
Currently RegisterClass was catching double registration of a ZODB class (a string), but not a Go type. We want to prevent double registration of a Go type, because when saving in-RAM state to ZODB we have to translate Go type -> ZODB class. Fix it.
Showing
Please register or sign in to comment