blipson89 / Leprechaun

A template code generation framework for Rainbow
MIT License
42 stars 22 forks source link

Feature Request: Whitelisting for missing base templates #20

Closed DerDreschner closed 5 years ago

DerDreschner commented 6 years ago

In our solution, we sometimes use the standard rendering parameters item of sitecore as base templates. As this item comes from sitecore and defines some sitecore-internals, we don't want to serialize them.

Due to the missing serialization, we get the following message for all the items with the standard rendering parameters as base template:

Unable to resolve base template 8ca06d6a-b353-44e8-bc31-b528c7306971. No fields from this template will exist.

This is somehow annoying, as a real missing item wouldn't stand out of all these messages. Therefore, it would be really cool to get a possibility to whitelist some missing base templates, so that only "real" missing templates will generate a warning.

blipson89 commented 5 years ago

@dreschner

I added a way of whitelisting in the latest version: