inseven / bookmarks

Pinboard client for iOS and macOS
https://bookmarks.jbmorley.co.uk
MIT License
30 stars 5 forks source link

Review the nullability of the properties on the Pinboard.Post struct #216

Open jbmorley opened 3 years ago

jbmorley commented 3 years ago

There are a number of nullable properties which, if null, would result in an invalid object. Perhaps they shouldn't be nullable?

jbmorley commented 3 years ago

As part of this change, it's important to also take a look at the meta and hash properties which are somewhat opaque Pinboard details that probably shouldn't be relied on internally.