Skip to content

Conversation

@cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Nov 6, 2024

This is a faithful backport of #53


In 7d3d258 I inadvterantly removed
support for json unmarshalling for the case when a type implements a protobuf message but is a type that is registered.

For types that are registered through the Register function typeurl is supposed to ignore the interfaces that the type implements and just use json.

This change restores that behavior.

This is a faithful backport of containerd#53

---

In 7d3d258 I inadvterantly removed
support for json unmarshalling for the case when a type implements a
protobuf message but is a type that is registered.

For types that are registered through the `Register` function typeurl
is supposed to ignore the interfaces that the type implements and just
use json.

This change restores that behavior.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@dmcgowan dmcgowan changed the title Fix unmarshalling of registered types [release/2.2] Fix unmarshalling of registered types Nov 6, 2024
@fuweid fuweid merged commit 5b047ad into containerd:release/2.2 Nov 7, 2024
slonopotamus added a commit to slonopotamus/buildkit that referenced this pull request Nov 12, 2024
This is a prerequisite to upgrading to containerd 2.x

See containerd/typeurl#54

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
slonopotamus added a commit to slonopotamus/buildkit that referenced this pull request Nov 13, 2024
This is a prerequisite to upgrading to containerd 2.x

See containerd/typeurl#54

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
slonopotamus added a commit to slonopotamus/buildkit that referenced this pull request Nov 14, 2024
This is a prerequisite to upgrading to containerd 2.x

See containerd/typeurl#54

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants