Skip to content

when try to compile the ts for production got error on ts error on auth contracts #3226

Answered by koteesy
farshadfahimi asked this question in Help
Discussion options

You must be logged in to vote

For anyone who found this issue in 2022, try to to make fields (password, email) not nullable, DO NOT THIS:

 @column()
  public email: string | null

 @column()
 public password: string | null

DO THIS, these field's cannot be nullable in LucidProviderContract

 @column()
  public email: string

 @column()
 public password: string

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thetutlage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants