From e22dab3fc0f364d65c3cadcaaffe663f660f1690 Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Tue, 10 Sep 2024 12:53:51 -0400 Subject: [PATCH] Re-add bufbuild/buf#3306 workaround for shared_rules_proto3.proto only --- .../validate/conformance/cases/shared_rules_proto3.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proto/protovalidate-testing/buf/validate/conformance/cases/shared_rules_proto3.proto b/proto/protovalidate-testing/buf/validate/conformance/cases/shared_rules_proto3.proto index 33a01b7..fbe0f65 100644 --- a/proto/protovalidate-testing/buf/validate/conformance/cases/shared_rules_proto3.proto +++ b/proto/protovalidate-testing/buf/validate/conformance/cases/shared_rules_proto3.proto @@ -142,3 +142,10 @@ message StandardSharedAndCustomRuleProto3 { } ]; } + +// This is a workaround for https://github.com/bufbuild/buf/issues/3306. +// TODO(jchadwick-buf): Remove this when bufbuild/buf#3306 is fixed. +message SharedRulesProto3UnusedImportBugWorkaround { + StandardSharedAndCustomRuleProto2 dummy_1 = 1; + StandardSharedAndCustomRuleEdition2023 dummy_2 = 2; +}