go-driver
go-driver copied to clipboard
Type dispartity in JournalSize
driver.SetCollectionPropertiesOptions has an int64 while driver.CreateCollectionOptions has a simple int. I have to explicitly cast it. From a modeling perspective one needs to be chosen over the other.
@virmundi Thanks for the find. Changing this will break the existing API, but only in a small way. We'll see what we can do about it.
We have fixed it in V2 version of drivers: https://github.com/arangodb/go-driver/blob/eda9ddfc1920bef842645703c2559ceeb2da692d/v2/arangodb/collection_opts.go#L119-L119 https://github.com/arangodb/go-driver/blob/eda9ddfc1920bef842645703c2559ceeb2da692d/v2/arangodb/collection_opts.go#L157-L158
In V1 we will leave it as is since that change would be not backward compatible.