Commit graph

24 commits

Author SHA1 Message Date
Luiz Rodrigo de Souza
262f47cd6c
better support for default type 2024-10-30 20:18:30 -03:00
Luiz Rodrigo de Souza
e9b3dc1691
first try 2024-10-30 20:00:54 -03:00
Luiz Rodrigo de Souza
1c0bd89955
handle non-primary-key, non-assoc field (#39) 2024-10-09 21:19:14 -04:00
Andrew Timberlake
74e1827dd4
Change default type to uuid (#34) 2024-08-28 12:15:03 -04:00
Andrew Timberlake
1e4d1f8aee
Fix prefix validation in Ecto type (#35) 2024-08-28 12:10:40 -04:00
Dennis Beatty
c74d433c2d
allow binary type (#32)
* allow binary type

* remove binary_id support
2024-07-18 14:14:01 +00:00
sloane
eadb269342
Support 0.3.0 spec (#30)
* replace shell script with elixir script

* update to 0.3.0 spec

* update parser to support 0.3.0 spec

* use binary_part/3 for elixir 1.11 support

* add .exs extension to update_spec script
2024-04-22 10:00:51 -04:00
Sloane
dd8f957106
fix: raise if primary_key: true and no prefix (#22) 2023-07-16 11:36:19 -04:00
Sloane
c9eb03b44e
Better support for Ecto (#21)
* use schema associations to derive prefixes

* expand documention for ecto usage

* 0.5.0
2023-07-16 11:01:51 -04:00
Sloane
1a1f2a7008
Jason.Encoder impl (#18) 2023-07-07 14:38:26 -04:00
Sloane
4930e7115c
Common protocol implementations (#16)
* `String.Chars` impl

* `Phoenix.HTML.Safe` impl

* `Phoenix.Param` impl
2023-07-07 13:26:25 -04:00
Sloane
3d657061f5
Add Ecto support (#14)
* add ecto type support

* Ecto.ParameterizedType, `time: ...` for `new/2`

* 0.3.0
2023-07-07 09:00:51 -04:00
Sloane
303a474437
Use homerolled UUID module (#9)
* remove uniq, use homerolled uuid module

* update changelog
2023-07-06 14:23:58 -04:00
Sloane Perrault
63e0952823
limit first suffix char to 0..7 2023-07-06 10:24:56 -04:00
Sloane Perrault
5bf8b50e2d
0.1.0 2023-07-02 08:23:44 -04:00
Sloane Perrault
db5e754d86
modify to catch invalid specs 2023-07-02 08:19:23 -04:00
Sloane Perrault
6d4a555585
modify to support valid specs 2023-07-02 08:13:02 -04:00
Sloane Perrault
8a464f10ea
update inspect impl 2023-06-30 07:00:51 -04:00
Sloane Perrault
ff8542f164
add examples, link to spec 2023-06-30 06:53:15 -04:00
Sloane Perrault
9a895737fd
fix base 32 encoding 2023-06-30 06:03:07 -04:00
Sloane Perrault
b34945f79d
add comments to base 32 module 2023-06-29 19:04:05 -04:00
Sloane Perrault
a9c52b8496
fix base32 encoding 2023-06-29 18:22:24 -04:00
Sloane Perrault
cdd8624662
initial implementation 2023-06-29 17:23:05 -04:00
Sloane Perrault
e4e25935b7
mix new 2023-06-29 15:20:23 -04:00