The proposal to merge ~alvarocs/launchpad:content-templates-validator into 
launchpad:master has been updated.

Description changed to:

-Make the content_templates field accessible through the API by exporting it.
-Implement new validation function for content templates 
'validatie_content_templates' to enforce:
   - allowed keys: types of templates, for now only bug_templates 
(mergeproposal_templates, answer_templates... in the future).
   - default key: there should be at least one default key for each type of 
template.
-Add the validation function as constraint of the Dict field .
-Update doctests as 'content_templates' field is now exported.
-Unit tests for validation function.

For more details, see:
https://code.launchpad.net/~alvarocs/launchpad/+git/launchpad/+merge/478379
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
~alvarocs/launchpad:content-templates-validator into launchpad:master.


_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : launchpad-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to