-
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
feat(boot): implement Service booter #1652
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,14 @@ Let's start by creating the initial application by running the following | |
command: | ||
|
||
```sh | ||
lb4 app soap-calculator --enableRepository | ||
lb4 app soap-calculator --enableRepository --enableServices | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, now we have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. Should we rename |
||
``` | ||
|
||
**Note:** The option **--enableRepository** instructs the **CLI** to include a | ||
RepositoryMixin class in the application constructor which will be needed when | ||
we create the datasource. | ||
`RepositoryMixin` class in the application constructor which will be needed when | ||
we create the datasource. The option **--enableServices** instructs the **CLI** | ||
to include a `ServiceMixin` class in the application constructor which will be | ||
needed to register our SOAP service client. | ||
|
||
**LB4** will ask you a few questions _(you can leave the default options)_. The | ||
description and the root directory are obvious. The class name referes to the | ||
|
@@ -31,8 +33,9 @@ application.ts file. | |
``` | ||
|
||
Next you will see a list of options for the build settings, if you did not | ||
specify --enableRepository in the last command, then you will see it in this | ||
list, make sure you enable the repository for the application. | ||
specify `--enableRepository` and `--enableServices` in the last command, then | ||
you will see them in this list, make sure you enable both the repository and the | ||
services for the application. | ||
|
||
**Note:** Enable all options, unless you know what you are doing, see | ||
[The Getting Started guide](Getting-started.md) for more information. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, this is a sign that we should have something like #992 to make it possible to explicit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for #992, it's certainly needed.