Replies: 1 comment
-
I’m facing the same issue. Did you solve it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When declaring a model property as:
Type inference breaks in:
With error
Argument of type 'address' is not assignable to parameter of type 'undefined'.
If I remove the null from the type definition of the property the preloading works correctly.I believe this functionality is allowed as discribed in this PR: adonisjs/lucid#944
Anyone knows what's happening?
Beta Was this translation helpful? Give feedback.
All reactions