protoc-gen-gorm
protoc-gen-gorm copied to clipboard
A protobuf compiler plugin designed to generate GORM models and APIs for simple object persistence tasks.
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1315fce] goroutine 1 [running]: github.com/infobloxopen/protoc-gen-gorm/plugin.(*ORMBuilder).followsUpdateConventions(0xc0000671a0, 0xc000828ea0, 0xc000828ea0, {0x13bb7c7, 0x6}) /Users/anguodong/go/pkg/mod/github.com/infobloxopen/[email protected]/plugin/plugin.go:2814 +0x20e github.com/infobloxopen/protoc-gen-gorm/plugin.(*ORMBuilder).parseServices(0xc0000671a0, 0xc0001be100) /Users/anguodong/go/pkg/mod/github.com/infobloxopen/[email protected]/plugin/plugin.go:2641...
this error occurred when b.proto has import a.proto. /model/a/a.proto ``` package model.a message ma{ } ``` /model/b/b.proto ``` package model.b import "model/a/a.proto" message mb{ api.a.ma a = 1; } ```...
Can someone provide a simple example with a basic model? The examples require too much hassle and manual work; writing proto makes sense too, but the import and generating model...
Add support for clickhouse as the engine for arrays and custom types specified in proto/types/types.proto file
By using `protoc-gen-gorm ` generated the *.pb.gorm.go file, the problem is my project of the protobuf service using the `"gorm.io/gorm"` is v2 of the gorm project that is **not compatible**...
problem: is a protoc3 file that contains optional fields, but code generator protoc-gen-gorm hasn't been updated to support optional fields in protoc3. Please ask the owner of this code generator...
/map.proto: is a proto3 file that contains optional fields, but code generator protoc-gen-gorm hasn't been updated to support optional fields in proto3. Please ask the owner of this code generator...