typeid-elixir icon indicating copy to clipboard operation
typeid-elixir copied to clipboard

Use Strings in parameterized type

Open sloanelybutsurely opened this issue 2 years ago • 1 comments

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 pubsub topics

sloanelybutsurely avatar Jul 19 '23 14:07 sloanelybutsurely

I've got a fairly rudimentary use of TypeID so far, but I've definitely been needing to call TypeID.to_string quite a bit when creating forms. Would love to see this!

zolrath avatar Apr 25 '24 02:04 zolrath