codify-plugin-lib 1.0.101 → 1.0.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,8 @@ export class ResourceController {
37
37
  const { parameters, coreParameters } = splitUserConfig(configToValidate);
38
38
  this.addDefaultValues(parameters);
39
39
  if (this.schemaValidator) {
40
- const isValid = this.schemaValidator(parameters);
40
+ // Schema validator uses pre transformation parameters
41
+ const isValid = this.schemaValidator(splitUserConfig(desiredConfig).parameters);
41
42
  if (!isValid) {
42
43
  return {
43
44
  isValid: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.101",
3
+ "version": "1.0.103",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -63,7 +63,8 @@ export class ResourceController<T extends StringIndexedObject> {
63
63
  this.addDefaultValues(parameters);
64
64
 
65
65
  if (this.schemaValidator) {
66
- const isValid = this.schemaValidator(parameters);
66
+ // Schema validator uses pre transformation parameters
67
+ const isValid = this.schemaValidator(splitUserConfig(desiredConfig).parameters);
67
68
 
68
69
  if (!isValid) {
69
70
  return {