Skip to content

Commit

Permalink
style(logic): remove unnecessary non-nullable for Variables field
Browse files Browse the repository at this point in the history
Field Answer.Variables is a repeated non-nullable native type, so
nullable=false has no effect.
  • Loading branch information
ccamel committed Mar 11, 2024
1 parent 8da8f62 commit 9a34f7d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
1 change: 0 additions & 1 deletion proto/logic/v1beta2/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ message Answer {
bool has_more = 2 [(gogoproto.moretags) = "yaml:\"has_more\",omitempty"];
// variables represent all the variables in the query.
repeated string variables = 3 [
(gogoproto.nullable) = false,
(gogoproto.moretags) = "yaml:\"variables\",omitempty"
];
// results represent all the results of the query.
Expand Down
46 changes: 23 additions & 23 deletions x/logic/types/types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a34f7d

Please sign in to comment.