title: nestjs Post cannot receive array of multiple json `this.build(...).save is not a function`
body: <p>I am trying to Post array of json objects to nestjs @Post and it doesnt accept it. </p>
  
  <p>my controller </p>
  
  <pre><code>@Post()
  async create(@Res() res, @Body() data: any) {
      if (!data || (data &amp;&amp; Object.keys(data).length === 0)) {
          throw new HttpException("Empty Body ", HttpStatus.BAD_REQUEST);
      }
  
      let result: any = await this.Service.creat(data);
  
      if (!result.success) {
          throw new HttpException(result.message, HttpStatus.BAD_REQUEST);
      }
  
      return res.status(HttpStatus.OK).json(result);
  }
  </code></pre>
  
  <p>my service </p>
  
  <pre><code>constructor(
          @Inject('DATA_REPOSITORY')
          private dataRepository: typeof Vols
      ) { }
    public async creat(data: any): Promise&lt;object&gt; {
      let newData: any;
      newData = await this.dataRepository.create&lt;data&gt;(data);
  return newData;
  }
  </code></pre>
  
  <p>Vols : -> is just my Model of columns </p>
  
  <pre><code>id: number;
  name:string
  
  
   `[ 
      { id:1 name:'test2' }, 
      { id:2, name:'test' } 
  </code></pre>
  
  <p>]` </p>