For some scenarios it can be useful to hide the ID's to prevent data leak, like how many users are signing up on a platform, growth data etc. And also preventing users to query other items if they know the id on another. I know we can use UUID, but that bloats db, network & client alot.
For some scenarios it can be useful to hide the ID's to prevent data leak, like how many users are signing up on a platform, growth data etc. And also preventing users to query other items if they know the id on another. I know we can use UUID, but that bloats db, network & client alot.
One pretty mature solution is on https://hashids.org/
It would be awesome, if Hasura could transform IDs to/from hashids. So postgres can store int/bigint PK, but the API would only use the hash ids.