[Bug]: Encoding/Decoding array of AppBskyLexicon.Feed.FeedViewPostDefinition not working

Open
#146 12 comments 0 reactions 1 assignee View on GitHub

@MasterJ93 is already working on this.

Since May 29, 2025.

  • #249 by @systemblueio — closed without merging

Assessment

This issue has not been assessed yet.

Description

additional info needed bug
Summary

When caching feeds, they don't correctly save the Unknown types so decoding doesn't show the text content of the post.

Reproduction Steps
  • Save/cache the array of AppBskyLexicon.Feed.FeedViewPostDefinition
  • Fetch and decode from the saved location
  • Record data has wrong type and is therefore missing
Expected Results

Correct saving and decoding of Unknown types.

Actual Results

Missing or wrong types.

What operating systems did you experience this bug?

iOS/iPadOS

Operating System Version

iOS 18

ATProtoKit Version

0.62.5

Additional Context

No response

Dominant language
Swift
Stars
226
Forks
40
Avg merge
2h 56m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MasterJ93/ATProtoKit

All issues in MasterJ93/ATProtoKit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.