-
Hello there, how can i make relations as nullable? Example: @belongsTo(() => Relation)
public relation: BelongsTo<typeof Relation> | null |
Beta Was this translation helpful? Give feedback.
Answered by
aayush123
Mar 30, 2023
Replies: 1 comment
-
As of now, you can't. It'll probably need some internal changes in the typings for the decorators to work |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DZ8540
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of now, you can't. It'll probably need some internal changes in the typings for the decorators to work