Closed kwaa closed 1 month ago
The changes introduce alias handling in the ApubUser
and related structs. This involves adding an aliases
field to UserHatsu
and UserFeedHatsu
, updating the into_json
method in ApubUser
to handle this new field, and documenting the aliases
key in the JSON Feed Extension. The alterations ensure that aliases are properly managed and utilized across the application.
Files | Change Summary |
---|---|
crates/apub/src/actors/db_user.rs |
Updated into_json method in ApubUser to handle aliases by cloning hatsu , extracting aliases, and setting defaults if necessary. |
crates/db_schema/src/user.rs |
Added aliases field of type Option<String> to UserHatsu struct. |
crates/feed/src/user_feed_hatsu.rs |
Added aliases field of type Option<String> to UserFeedHatsu and included it in conversion to DbUserHatsu . |
docs/src/others/json-feed-extension.md |
Documented aliases key as an optional string field in the JSON Feed Extension. |
Objective | Addressed | Explanation |
---|---|---|
Implement FEP-4adb, FEP-2c59 (#15) | ✅ |
In the code where aliases bloom,
New fields added, a brighter room.
JSON feeds now hold the key,
To names in shadows, set them free.
With every change, the system grows,
A rabbit's touch in every code that flows.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
closed #15
Summary by CodeRabbit
New Features
Documentation
aliases
field in the JSON Feed Extension.