-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add hasOne relation type to lb4 relation
#2980
Comments
@lakinmohapatra, this is the same issue you've reported. Would you like to submit a PR? Thanks. |
@dhmlau I would like to work on this. Can you assign this to me? |
@lokesh1197, of course! |
@lokesh1197, are you still interested in working on a PR for this? I think I haven't seen a related PR. Thanks. |
@dhmlau I was working on it. But I got busy in another project so I had to stop. Currently the tests part is remaining. I will try to finish it within this week. |
cool thanks! |
PR #4171 |
Description / Steps to reproduce / Feature proposal
Trying out the
lb4 relation
command from the master branch and realized that there are only 2 model relation types available for selection:belongsTo
andhasMany
.We should add the
hasOne
relation type as one of the options as well.Acceptance Criteria
lb4 relation
command, there should be 3 options for relation types:belongsTo
,hasMany
andhasOne
(should be added in this work item) ( should implement the "inclusion resolver" prompt too)The text was updated successfully, but these errors were encountered: