typeid-elixir
typeid-elixir copied to clipboard
Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Hello, thank you very much for making this library! I'm having an issue where it appears when I insert new rows into my database they are randomly sorted instead of...
The TypeID structs aren't very portable in practice. Implementing protocols only goes so far. Structs are particularly challenging when attempting to pattern match on things that are always strings like...
I was trying to migrate from bigint ids to TypeID I came across a few problems because I need to have TypeID working during interim steps. 1. You can’t use...
I just started to work with adding TypeIDs to my app and immediately ran into issues with `belongs_to`. I've looked at the other issues and I did get it to...
Following up on the discussion on #36 The PR intends to better support `belongs_to`. To get the type, we first read `column_type` from opts, and only if it's not available...
Addresses https://github.com/sloanelybutsurely/typeid-elixir/issues/19 I also added Dialyzer, which seemed like a simple enough value-add. For some of my own notes on the tool, see: https://fly.io/phoenix-files/adding-dialyzer-without-the-pain/ Output of various commands is below....