Replies: 1 comment
-
i landed on the strategy of using strings for primary keys, and generating my own ids in app code. not much to it, but i put together a small gem make the pattern easy to adopt, and it includes a way to lookup objects as well: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using graphql ruby's "Node" interface and rails' GlobalID library as shown in the documentation's example. I'm interested in getting shorter ids though, preferably in line with @rmosolgo's blog post about "What makes a good ID?"
Currently using postgres uuids for primary keys. Wondering if there's a library out there to help with this.
Beta Was this translation helpful? Give feedback.
All reactions