import EmberObject from '@ember/object';
import classic from 'ember-classic-decorator';

@classic
export default class DummyValidationAdapter extends EmberObject {
  validate() {
    return this.object.validate();
  }

  get attributes() {
    return this.object.validationsDummy;
  }
}

@@ -80,16 +80,75 @@
 orator';
+%0Aimport %7B dependentKeyCompat %7D from '@ember/object/compat';
 %0A%0A@class
@@ -239,43 +239,106 @@
     
-return this.object.validate();%0A  %7D%0A
+if (this.object?.validate) %7B%0A      return this.object.validate();%0A    %7D%0A  %7D%0A%0A  @dependentKeyCompat
 %0A  g
@@ -369,32 +369,33 @@
 turn this.object
+?
 .validationsDumm

fix 3.16 compatibility