-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Person.inbox_url
should be optional
#179
Comments
Also Also, I'm using |
These type definitions are auto-generated from the rust code, using ts-rs. It seems to be using a @Nutomic is this a non-issue then? Or should inbox_url be made optional? |
Maybe this is a bug with the Lemmy backend not sending the properties then? All I know is that on all the instances I've tested with (https://lemmy.world and https://lemmy.ml both running v0.18.4), {
"id": 122582,
"name": "lwadmin",
"avatar": "https://lemmy.world/pictrs/image/a23e1c40-a5e6-4b8c-ad42-72ff8ca274d4.png",
"banned": false,
"published": "2023-06-14T21:04:29.419798",
"actor_id": "https://lemmy.world/u/lwadmin",
"bio": "Lemmy World Admins\n\nFollow the mastodon account at [@LemmyWorld@mastodon.world](https://mastodon.world/users/LemmyWorld)! :)",
"local": true,
"banner": "https://lemmy.world/pictrs/image/a4eff995-66fe-4c0d-ac0d-40b4a912a4aa.webp",
"deleted": false,
"admin": true,
"bot_account": false,
"instance_id": 1
} |
A while ago we marked them as |
This seems to have been fixed in #181. |
Person.inbox_url
is specified as always non-null.However, it is easy to discover, that
Person.inbox_url
is actually nullable. For instance, if you check, https://lemmy.world/api/v3/post/list?sort=Active, you'll notice that all of thePostView.creator
objects are missinginbox_url
fields.The text was updated successfully, but these errors were encountered: