Skip to content

allow custom type#184

Open
mihawk wants to merge 1 commit intoErlyORM:masterfrom
mihawk:patch-1
Open

allow custom type#184
mihawk wants to merge 1 commit intoErlyORM:masterfrom
mihawk:patch-1

Conversation

@mihawk
Copy link
Contributor

@mihawk mihawk commented Jun 26, 2014

use case:

-module(toto, [
               Id     ::pk(),
               Phone  ::phone(),
               Caviar ::string()
               Status ::picklist()
             ]).

would like to extend type, from the source code i see:
string, binary, uuid, date, datetime, integer, float, boolean, timestamp, atom

i guess this small change will not affect existing code,
perhaps some test case.

use case:
 
```erlang
-module(toto, [
               Id     ::pk(),
               Phone  ::phone(),
               Caviar ::string()
               Status ::picklist()
             ]).
 
```
would like to extend type, from the source code i see: 
  string, binary, uuid, date, datetime, integer, float, boolean, timestamp, atom

i guess this small change will not affect existing code, 
perhaps some test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant