Saturn.Template
Saturn.Template copied to clipboard
Support for SQL Server option in template
Hi,
Would you be OK with me contributing a PR to add SQL Server as an option to the template? I was thinking to use a new parameter on the template that will default to SQLite, and be used in the template to control copying and renaming of sources, similar to how it is being done in SAFE-Template
...
"modifiers": [
{
"condition": "(Server == \"suave\")",
"exclude": [ "**/ServerGiraffe.fs" ],
"rename": {
"ServerSuave.fs": "Server.fs"
}
},
...
I would also be able to produce a corresponding PR for the dotnet-saturn repo to alter the GEN function.
Thanks
@mtnrbq This is a good idea.
You'll also want to update the Saturn CLI to also allow scaffolding new SQL Server variants.
I created this issue + PR to address a SQL Server issue with the scaffold. https://github.com/SaturnFramework/Saturn.Dotnet/issues/10