Skip to content
Commit Detail

Commit 76a2522

Author
Harris Hancock <harris@cloudflare.com> 2026-05-11 12:37:07 +0100
Parents
037644c
Tree
b4c55e3
Bump capnp-cpp past AnyStruct schema change and fix compatibility-date

capnproto/capnproto#2501 introduced a source-breaking change:
schema::Value::Reader::getStruct() now returns capnp::AnyStruct::Reader
(with as<T>()) instead of capnp::AnyPointer::Reader (with getAs<T>()).

Bump capnp-cpp past it and update the two getStruct().getAs<T>() callers
in compatibility-date.{c++,-test.c++} to use as<T>().

Assisted-by: OpenCode:claude-opus-4.7

Files changed