title: vuelidate validation object pass as a prop
body: <p>I have a component that i would like to have the validation object set by passing in as a prop eg this is what i've tried and it doesn't work. The error message in the console is "Cannot read property 'validations' of undefined"</p>
  
  <pre><code>export default {
  props:{        
      validations: {type:Object, default: {}}                  
  },
  data(){
      return {
  
  }
  },
  methods:{
  
  
  },        
  validations: {    
       myObject: [...validations]
  }     
  }
  </code></pre>
  
  <p>my validations object that i pass in looks like:</p>
  
  <pre><code>myValidations:{
  item1: {required},
  item2: {required}   
  }
  </code></pre>
  
  <p>However i dont know if this is possible or if im doing something wrong.
  The expected outcome i am looking for is:</p>
  
  <pre><code>//other code as above
  validations: {    
  myObject: {
      item1: {required},
      item2: {required} 
  }
  }
  </code></pre>