var ignore = context.Settings.GetList<string>("AssetsToIgnoreInDocumentJson", []);
However, ignore == null. In context.Settings I can see that staticwebapp.config.json is paired to AssetsToIgnoreInDocumentJson:0. It's not wrong per se but it doesn't play nicely with IMetadataConversionExtensions.GetList<T>.
I wanted to pass an array of strings to a module so I added them in
themesettings.yml
Then I tried to retrieve them:
However,
ignore == null
. Incontext.Settings
I can see thatstaticwebapp.config.json
is paired toAssetsToIgnoreInDocumentJson:0
. It's not wrong per se but it doesn't play nicely withIMetadataConversionExtensions.GetList<T>
.