Skip to content

Commit

Permalink
Introduce the concept of known EventGroup metadata types. (#1512)
Browse files Browse the repository at this point in the history
Known EventGroup metadata types are types expected to be known by all callers. These need not be included in the EventGroupMetadataDescriptor FileDescriptorSet, and are instead loaded separately.

This also enforces uniqueness for EventGroupMetadataDescriptor message types. Note that this only affects the creation of new resources. Existing resources may exist that already violate this constraint.

Includes a workaround for bazelbuild/rules_proto#203.

Closes #1511
  • Loading branch information
SanjayVas authored Mar 11, 2024
1 parent e67956d commit bfdf135
Show file tree
Hide file tree
Showing 68 changed files with 699 additions and 313 deletions.
14 changes: 13 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ bazel_dep(
)
bazel_dep(
name = "rules_proto",
version = "6.0.0-rc1",
version = "6.0.0-rc2",
)
bazel_dep(
name = "rules_cc",
Expand Down Expand Up @@ -313,6 +313,18 @@ http_archive(
url = "https://github.com/world-federation-of-advertisers/uk-pilot-event-templates/archive/refs/tags/v0.2.0.tar.gz",
)

# TODO(bazelbuild/rules_proto#203): Remove when fixed.
archive_override(
module_name = "rules_proto",
integrity = "sha256-cf2+0AoHCVIa0hIFjGDROZe5IqXQHb/Zl/DVfWiee2c=",
patch_strip = 0,
patches = ["//build/rules_proto:module_dot_bazel.patch"],
strip_prefix = "rules_proto-6.0.0-rc2",
urls = [
"https://github.com/bazelbuild/rules_proto/releases/download/6.0.0-rc2/rules_proto-6.0.0-rc2.tar.gz",
],
)

# Force use of newer version of boringssl.
single_version_override(
module_name = "boringssl",
Expand Down
Loading

0 comments on commit bfdf135

Please sign in to comment.