dotnet / dotnet/templating

Combined Templates Support

Open
#2,771 6 comments 11 reactions 0 assignees View on GitHub
feature gathering-feedback triage:transfer-to-sdk triaged User Story
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

I'm creating some templates for application types I use often.

It would be cool if it were possible to combine templates.

A concrete example (sorry for the terrible "markdown art")

let's assume I have the following templates:
- tests-lib
- grpc-server-app
- web-api-app

I would love being able to create templates like
- grpc-server
- /solution.sln
- src/
- Directory.Build.props
- [grpc-server-app] (params)
- tests/
- Directory.Build.props
- [tests-lib] (params)
- web-api
- /solution.sln
- src/
- Directory.Build.props
- [web-api-app] (params)
- tests/
- Directory.Build.props
- [tests-lib] (params)

and so on...

It would be up to the root "template" to fetch and dispatch all needed parameters to the "sub" templates

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.