add initial compileGroup support

This commit is contained in:
Brian Gough
2020-06-15 15:28:53 +01:00
parent ede70b6f99
commit 2ce03f0554
9 changed files with 183 additions and 18 deletions
+11 -1
View File
@@ -74,7 +74,17 @@ module.exports = RequestParser = {
default: [],
type: 'object'
})
if (settings.allowedCompileGroups) {
response.compileGroup = this._parseAttribute(
'compileGroup',
compile.options.compileGroup,
{
validValues: settings.allowedCompileGroups,
default: '',
type: 'string'
}
)
}
// The syncType specifies whether the request contains all
// resources (full) or only those resources to be updated
// in-place (incremental).