diff --git a/go.mod b/go.mod index c470fbb..235304a 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/infobloxopen/atlas-app-toolkit v1.2.2-0.20220721202134-28480c4993fc github.com/infobloxopen/protoc-gen-atlas-query-validate v0.5.2 github.com/infobloxopen/protoc-gen-atlas-validate v1.0.1 - github.com/infobloxopen/protoc-gen-gorm v1.1.3-0.20230726085533-76a99c197982 + github.com/infobloxopen/protoc-gen-gorm v1.1.3 github.com/infobloxopen/protoc-gen-preprocess v1.0.1 github.com/mwitkow/go-proto-validators v0.3.2 github.com/pseudomuto/protoc-gen-doc v1.5.1 @@ -39,7 +39,7 @@ require ( github.com/iancoleman/strcase v0.2.0 // indirect github.com/imdario/mergo v0.3.4 // indirect github.com/jinzhu/inflection v1.0.0 // indirect - github.com/jinzhu/now v1.1.4 // indirect + github.com/jinzhu/now v1.1.5 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/lyft/protoc-gen-star v0.6.0 // indirect github.com/magefile/mage v1.10.0 // indirect diff --git a/go.sum b/go.sum index 5e13f23..fba7159 100644 --- a/go.sum +++ b/go.sum @@ -207,6 +207,8 @@ github.com/infobloxopen/protoc-gen-atlas-validate v1.0.1 h1:fnHjAsbSnBfAffh8B5vx github.com/infobloxopen/protoc-gen-atlas-validate v1.0.1/go.mod h1:8mvvU+9brTltCbn9L8V5KUnPs6+7JcmSW13MeJhgOv8= github.com/infobloxopen/protoc-gen-gorm v1.1.3-0.20230726085533-76a99c197982 h1:lBsOB5as8/zjx7aKgHBQJ26bOog49nQBzt+clramzmg= github.com/infobloxopen/protoc-gen-gorm v1.1.3-0.20230726085533-76a99c197982/go.mod h1:TF+6OHwySHdbeyWWasN9cJ9iwD4LI9AkeIS6wiPyins= +github.com/infobloxopen/protoc-gen-gorm v1.1.3 h1:9L61UOAWrz8IGKC+8Wmv5TV2NDOqxojLwtiVhPMmSck= +github.com/infobloxopen/protoc-gen-gorm v1.1.3/go.mod h1:PRWH0gNvHwuTNUbIo8bVDgciAUpo7bliM+e9lfGq0o4= github.com/infobloxopen/protoc-gen-preprocess v1.0.1 h1:iYdq2LiHvsxqY7PTCCNJDnUR/bWrlW0dgu/SqEQZrrQ= github.com/infobloxopen/protoc-gen-preprocess v1.0.1/go.mod h1:fgbTDnHIaOIj4mxDCbSYdJiFMuXFIS5mldUgX2/eKdk= github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0= @@ -266,6 +268,8 @@ github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.4 h1:tHnRBy1i5F2Dh8BAFxqFzxKqqvezXrL2OW1TnX+Mlas= github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= +github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= diff --git a/third_party/github.com/infobloxopen/protoc-gen-gorm/proto/options/gorm.proto b/third_party/github.com/infobloxopen/protoc-gen-gorm/proto/options/gorm.proto index 23734bd..6833e52 100644 --- a/third_party/github.com/infobloxopen/protoc-gen-gorm/proto/options/gorm.proto +++ b/third_party/github.com/infobloxopen/protoc-gen-gorm/proto/options/gorm.proto @@ -28,6 +28,7 @@ message GormMessageOptions { repeated ExtraField include = 2; string table = 3; bool multi_account = 4; + bool multi_compartment = 5; } message ExtraField { @@ -78,6 +79,7 @@ message GormTag { bool association_autocreate = 21; bool association_save_reference = 22; bool preload = 23; + string serializer = 24; } message HasOneOptions {