Skip to content

Conversation

@cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Nov 6, 2024

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.

cpuguy83 added a commit to cpuguy83/typeurl that referenced this pull request Nov 6, 2024
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>
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 merged commit 125f779 into containerd:main Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants