Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bert_validator's inability to work with type string() #18

Open
rdimitrovbg opened this issue Jun 3, 2019 · 0 comments
Open

bert_validator's inability to work with type string() #18

rdimitrovbg opened this issue Jun 3, 2019 · 0 comments

Comments

@rdimitrovbg
Copy link

During compilation using rebar3 (rebar 3.10.0 on Erlang/OTP 20 Erts 9.0) the following error was raised

Error in parse transform 'bert_validator': {function_clause,
                                            [{bert_validator,guard,
                                              [{union,
                                                [{type,25,string,[]},
                                                 {type,25,binary,[]}]},
                                               "Name",
                                               {form,
                                                [10,118,97,108,105,100,97,116,
                                                 101,40,68,32,61,32,35,39,119,
                                                 114,105,116,101,114,39,123,
                                                 105,100,32,61,32,73,100,44,
                                                 32,99,111,117,110,116,32,61 ...
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

No branches or pull requests

1 participant