boss_db:validate_record_types did not handle fields of type 'atom' #33

Merged
merged 1 commit into from Sep 3, 2012

3 participants

@LordIvan

If you give a field a data type of 'atom' in a model

eg:
-module( mymodel, [ id:integer, value::atom() ] ).

it fails with a type validation error when 'value' contains an atom.

This patch contains a two line fix.

@evanmiller

Thanks!

@evanmiller evanmiller merged commit cf726e6 into ErlyORM:master Sep 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment