Skip to content

Commit

Permalink
chore: fix buf linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Nov 16, 2024
1 parent a112a30 commit 1cf5c21
Show file tree
Hide file tree
Showing 11 changed files with 452 additions and 455 deletions.
3 changes: 0 additions & 3 deletions backend/protos/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ breaking:
lint:
use:
- BASIC
ignore_only:
FIELD_LOWER_SNAKE_CASE:
- xyz/block/ftl/v1
258 changes: 129 additions & 129 deletions backend/protos/xyz/block/ftl/v1/admin.pb.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backend/protos/xyz/block/ftl/v1/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ message ListConfigRequest {
}
message ListConfigResponse {
message Config {
string refPath = 1;
string ref_path = 1;

Check failure on line 33 in backend/protos/xyz/block/ftl/v1/admin.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "1" on message "Config" changed name from "refPath" to "ref_path".
optional bytes value = 2;
}
repeated Config configs = 1;
Expand Down Expand Up @@ -80,7 +80,7 @@ message ListSecretsRequest {
}
message ListSecretsResponse {
message Secret {
string refPath = 1;
string ref_path = 1;

Check failure on line 83 in backend/protos/xyz/block/ftl/v1/admin.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "1" on message "Secret" changed name from "refPath" to "ref_path".
optional bytes value = 2;
}
repeated Secret secrets = 1;
Expand Down
420 changes: 210 additions & 210 deletions backend/protos/xyz/block/ftl/v1/language/language.pb.go

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions backend/protos/xyz/block/ftl/v1/language/language.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ message CreateModuleRequest {
ProjectConfig project_config = 3;

// Flags contains any values set for those configured in the GetCreateModuleFlags call
google.protobuf.Struct Flags = 4;
google.protobuf.Struct flags = 4;

Check failure on line 73 in backend/protos/xyz/block/ftl/v1/language/language.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "4" with name "flags" on message "CreateModuleRequest" changed option "json_name" from "Flags" to "flags".

Check failure on line 73 in backend/protos/xyz/block/ftl/v1/language/language.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "4" on message "CreateModuleRequest" changed name from "Flags" to "flags".
}

// Response to a create module request.
Expand Down Expand Up @@ -133,7 +133,7 @@ message BuildContext {
}

message BuildContextUpdatedRequest {
BuildContext buildContext = 1;
BuildContext build_context = 1;

Check failure on line 136 in backend/protos/xyz/block/ftl/v1/language/language.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "1" on message "BuildContextUpdatedRequest" changed name from "buildContext" to "build_context".
}

message BuildContextUpdatedResponse {}
Expand Down Expand Up @@ -164,8 +164,8 @@ message Error {
message Position {
string filename = 1;
int64 line = 2;
int64 startColumn = 3;
int64 endColumn = 4;
int64 start_column = 3;

Check failure on line 167 in backend/protos/xyz/block/ftl/v1/language/language.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "3" on message "Position" changed name from "startColumn" to "start_column".
int64 end_column = 4;

Check failure on line 168 in backend/protos/xyz/block/ftl/v1/language/language.proto

View workflow job for this annotation

GitHub Actions / Proto Breaking Change Check

Field "4" on message "Position" changed name from "endColumn" to "end_column".
}

message ErrorList {
Expand Down
8 changes: 4 additions & 4 deletions frontend/console/src/protos/xyz/block/ftl/v1/admin_pb.ts

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

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

78 changes: 39 additions & 39 deletions python-runtime/ftl/src/ftl/protos/xyz/block/ftl/v1/admin_pb2.py

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

Loading

0 comments on commit 1cf5c21

Please sign in to comment.