feat(orm): add ormfield.Codec (#10601)
* feat(orm): add ormvalue.Codec * WIP * WIP * working tests * update dep * support more types, add docs * comments * address review comments * updates * add comment
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
version: v1
|
||||
name: buf.build/cosmos/cosmos-sdk
|
||||
breaking:
|
||||
use:
|
||||
- FILE
|
||||
|
||||
@@ -43,8 +43,9 @@ message PrimaryKeyDescriptor {
|
||||
// string fields support sorted iteration.
|
||||
// - bytes are encoded as raw bytes in terminal segments and length-prefixed
|
||||
// with a single byte in non-terminal segments. Because of this byte arrays
|
||||
// longer than 255 bytes cannot be used in keys and bytes fields should not
|
||||
// be assumed to be lexically sorted.
|
||||
// longer than 255 bytes are unsupported and bytes fields should not
|
||||
// be assumed to be lexically sorted. If you have a byte array longer than
|
||||
// 255 bytes that you'd like to index, you should consider hashing it first.
|
||||
// - int32, sint32, int64, sint64 are encoding as fixed width bytes with
|
||||
// an encoding that enables sorted iteration.
|
||||
// - google.protobuf.Timestamp and google.protobuf.Duration are encoded
|
||||
|
||||
Reference in New Issue
Block a user