-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
CLIRelationsModel relations (has many, etc.)Model relations (has many, etc.)developer-experienceIssues affecting ease of use and overall experience of LB usersIssues affecting ease of use and overall experience of LB usersfeaturegood first issuehelp wanted
Description
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 and hasMany.
We should add the hasOne relation type as one of the options as well.
Acceptance Criteria
- when running
lb4 relationcommand, there should be 3 options for relation types:belongsTo,hasManyandhasOne(should be added in this work item) ( should implement the "inclusion resolver" prompt too) - add related cli tests
Metadata
Metadata
Assignees
Labels
CLIRelationsModel relations (has many, etc.)Model relations (has many, etc.)developer-experienceIssues affecting ease of use and overall experience of LB usersIssues affecting ease of use and overall experience of LB usersfeaturegood first issuehelp wanted