Skip to content
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

Document type builder withDefaultTemplate takes a string, but should be bool #2

Open
nikolajlauridsen opened this issue Jun 23, 2022 · 0 comments
Labels

Comments

@nikolajlauridsen
Copy link
Contributor

On the document type builder we have a method withDefaultTemplate(alias : string), however when experimenting around I found that this only works if the alias you supply is the same as the doc type, so it doesn't really makes sense to take a string.

Instead I think we should make it a bool, and if it's true just set the default template alias to be the alias of the doc type when building

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant