feat: attribute typing (#40)

* marshal and unmarshal

* attributes proto

* fix

* process attributes and create secondary mappings

* get records from attributes

* fix

* fix lint errors

* fix gosec

* lower case

* go mod tidy

* Fix tests

* "add search test"

* req attributes

* grpc tests

* fix tests

* register interface

* fix tests

* Remove git diff from test workflows

* fix workflow file

* fix simulations

* fix names and add checks for attributes in tests

* Add comment for attribute prefix
This commit is contained in:
Murali Krishna Komatireddy
2022-11-15 11:51:14 +05:30
committed by GitHub
parent 72ec75a857
commit 6b04c0ee5e
35 changed files with 2187 additions and 601 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ func (m *Bond) XXX_DiscardUnknown() {
var xxx_messageInfo_Bond proto.InternalMessageInfo
func (m *Bond) GetID() string {
func (m *Bond) GetId() string {
if m != nil {
return m.Id
}
+1 -1
View File
@@ -252,7 +252,7 @@ func (m *QueryGetBondByIDRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryGetBondByIDRequest proto.InternalMessageInfo
func (m *QueryGetBondByIDRequest) GetID() string {
func (m *QueryGetBondByIDRequest) GetId() string {
if m != nil {
return m.Id
}