Hacker News new | ask | show | jobs
by thdxr 1917 days ago
Highly recommend taking a look at the JSONAPI spec - https://jsonapi.org/

It directly addresses the cons mentioned in the article while retaining all the pros

1 comments

Tried it. Definitely not ready yet, and the scope may be large enough that it won't ever get there. Also, many of its design choices are fundamentally in tension with statically typed languages.

I think you can probably formalize JSON API schemas in a useful way, but JSON API ain't it.

My experience has been extremely the opposite. It's likely the language you tried it with has a poor type system
Lol.