Re: Compiler Error while using Validation in the hunt-framework

2022-10-20 Thread Steven Schveighoffer via Digitalmars-d-learn
On 10/19/22 3:00 PM, Roman Funk wrote: Hello, I started playing with D and the hunt-framework. But I bumped into an error using Validation. ```d module app.forms.LoginForm; import hunt.validation; import hunt.framework.http.Form; class LoginForm : Form {     mixin MakeForm;     @Email    

Compiler Error while using Validation in the hunt-framework

2022-10-19 Thread Roman Funk via Digitalmars-d-learn
Hello, I started playing with D and the hunt-framework. But I bumped into an error using Validation. ```d module app.forms.LoginForm; import hunt.validation; import hunt.framework.http.Form; class LoginForm : Form { mixin MakeForm; @Email string name; @Length(3,8) string p