From 1bb2a0086d75fac9b774255a3a093fa6da0c9012 Mon Sep 17 00:00:00 2001 From: Donnie Hale <167324638+donniehale-tl@users.noreply.github.com> Date: Mon, 23 Jun 2025 13:49:20 -0400 Subject: [PATCH] Correct attribute name in explanatory text --- docs/guide/messages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/messages.md b/docs/guide/messages.md index bb434cc80..10685a91a 100644 --- a/docs/guide/messages.md +++ b/docs/guide/messages.md @@ -156,7 +156,7 @@ public class PersonBornV2 snippet source | anchor -The `[Version("V2")]` attribute usage tells Wolverine that this class is "V2" for the `message-type` = "person-born." +The `[MessageIdentity("person-born", Version = 2)]` attribute usage tells Wolverine that this class is "Version 2" for the `message-type` = "person-born." Wolverine will now accept or publish this message using the built in Json serialization with the content type of `application/vnd.person-born.v2+json`. Any custom serializers should follow some kind of naming convention for content types that identify versioned representations.