We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function gocbcore.EncodeCommonFlags totally ignores the compression type when it generates a flag object
gocbcore.EncodeCommonFlags
example:
flags := gocbcore.EncodeCommonFlags(gocbcore.JSONType, gocbcore.UnknownCompression) _, compression := gocbcore.DecodeCommonFlags(flags) fmt.Println("compressio is unknown?", compression == gocbcore.UnknownCompression) // returns false
https://go.dev/play/p/Tj7yqRWHHI6
The text was updated successfully, but these errors were encountered:
Hi @peczenyj thanks for filing this issue. Is this an issue that you're actually facing in something that you're trying to do? There isn't actually a common flag value for unknown compression, as per https://github.com/couchbaselabs/sdk-rfcs/blob/master/rfc/0020-common-flags.md
Sorry, something went wrong.
No branches or pull requests
function
gocbcore.EncodeCommonFlags
totally ignores the compression type when it generates a flag objectexample:
https://go.dev/play/p/Tj7yqRWHHI6
The text was updated successfully, but these errors were encountered: