glacasa / Mastonet

C# Library for Mastodon
MIT License
225 stars 36 forks source link

Make the properties `long`s like the mastodon schema #97

Closed LilahTovMoon closed 1 year ago

LilahTovMoon commented 1 year ago

The mastodon schema defines these items as bigints in PostgreSQL and while it is unlikely that anyone actually has billions of statuses, followers, etc., at least one account claims to have 97B followers: https://mastodon.adtension.com/@admin

It'll fail to deserialize if it hits a long that it can't fit into an int

glacasa commented 1 year ago

Nice ! Thanks for the PR, I publish this on Nuget right now :)