-
Notifications
You must be signed in to change notification settings - Fork 15
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
--server=false results in mismatch #21
Comments
I just noticed the same thing when testing some PWA-related items. Adding the ability to enabled/disable remoting (as part of |
So, this switch is supposed to only have an effect when combined with |
Would the simpler solution be to make that clear in the help text and the documentation? |
They do both say that the server flag is ignored if minimal=false. I'm open to a better wording though! |
What may help is a better description of what a 'minimal' application is
and what features are provided when it is set to 'true' or 'false'. Same
for the 'server' option.
This may be documented somewhere (I was not really able to find it), but I
didn't properly understand what it meant until I created multiple separate
projects and saw the differences in the files themselves (running the
initial applications helped a lot). I didn't expect the initial
application code to change completely from a counter + book service to a
hello world screen.
Even a small table showing what demos and/or services are created for the
different options (t/t, t/f, f/t, etc.) may address the original concern.
Also, the fact that we almost have "cascading" options (hotreload depends
on server or html, server and html depend on minimal) make it harder to
understand what the end result will be given a particular combination of
parameters.
|
The dotnet project template has been modified and now accepts the server=false minimal=false combination (by replacing the remote calls with requests to a static JSON file). |
If the template switch -s=false or --server=false like:
dotnet new bolero-app -o BoleroNoServer -s=false
is used, the resulting solution still has the project files for the .Server in the folder.
The Server project is not in the .sln file, so it does not show in VS.
The Client Main.fs file also contains:
#if DEBUG
|> Program.withHotReload
#endif
and the Book Service items as well.
The text was updated successfully, but these errors were encountered: