You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of From model definition to REST API with no custom repository/controller classes #2036
A new CLI command that will ask the user for an existing model, an existing datasource, and then generate the corresponding public-models entry (model configuration json)
Nice to have: the pattern (crud vs key-value) can be automatically inferred from the datasource config (connector type).
(Much can be borrowed from lb4 repository)
Acceptance Criteria
Introduce a new command modelconfig in the CLI to generate the model configuration json that will be stored in the public-models directory ( modelconfig is a suggestion)
Part of From model definition to REST API with no custom repository/controller classes #2036
A new CLI command that will ask the user for an existing model, an existing datasource, and then generate the corresponding
public-models
entry (model configuration json)Nice to have: the pattern (crud vs key-value) can be automatically inferred from the datasource config (connector type).
(Much can be borrowed from
lb4 repository
)Acceptance Criteria
modelconfig
in the CLI to generate the model configuration json that will be stored in thepublic-models
directory (modelconfig
is a suggestion)Generating LoopBack Artifacts
section in documentation : https://loopback.io/doc/en/lb4/Command-line-interface.html#generating-loopback-artifacts. Be sure to update the sidebar as well.The text was updated successfully, but these errors were encountered: