🏠
Author: cjrriley.com (did:plc:l5ppogsebmhgu7gmw27bzqk3)

Collections

Record🤔

uri:
"at://did:plc:l5ppogsebmhgu7gmw27bzqk3/app.bsky.feed.post/3l3u36vw2tg2r"
cid:
"bafyreic2jjozw3esfnsoh62hltcnpvwfvdu2cy6hedx724qu36yihwyrk4"
value:
text:
"Well...

... this is a little annoying: the Codable methods are outside of the struct itself. I *could* change the macro into an Extension macro, but it means there's an extension, which I don't want: I want it to be directly in the struct.

Will need to figure out this mess..."
$type:
"app.bsky.feed.post"
embed:
$type:
"app.bsky.embed.images"
images:
  • alt:
    "A screenshot of Swift code in Xcode, showing a struct named "CreateRecordRequestBody" conforming to the "Codable" protocol.
    
    The code partially defines two properties: "record" (an array of strings) and "swapCommit" (an optional "String").
    
    There are two methods: "init(from decoder:) throws," which decodes multiple properties from a container, and "encode(to encoder:) throws", which encodes these properties back. Both methods are marked with red error indicators stating, "Declaration name 'init(from:)' is not covered by macro 'LexiconModel'" and "Declaration name 'encode(to:)' is not covered by macro 'LexiconModel'." Both methods are outside of the "CreateRecordRequestBody" struct."
    image:
    View blob content
    $type:
    "blob"
    mimeType:
    "image/jpeg"
    size:
    958414
    aspectRatio:
    width:
    1818
    height:
    944
langs:
  • "en"
createdAt:
"2024-09-11T04:18:54.328Z"