Skip to content

bug(cli): cli does not respect custom relation getter name #4209

@derdeka

Description

@derdeka

Steps to reproduce

Generating hasMany relation between News and NewsFile object. Naming it files instead of the default newsFiles:

image

@loopback/cli@1.26.0

Current Behavior

The custom name files is used in the model, but not in the repository:

image

image

Expected Behavior

Expecting consistent naming across model and repository.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions