title: Get data from observable grpc service in nestjs,
body: <p>I want to use gRPC service to communicate between my microservices. but when getting a response from Grpc service, before return a method, I want to do some modification and functionality.</p>
  <p>sample project:  <a href="https://github.com/nestjs/nest/tree/master/sample/04-grpc" rel="nofollow noreferrer">https://github.com/nestjs/nest/tree/master/sample/04-grpc</a></p>
  <p>like this:</p>
  <pre><code>@Get(':id') 
  getById(@Param('id') id: string): Observable&lt;Hero&gt; {
    const res: Observable&lt;Hero&gt; = this.heroService.findOne({ id: +id }); 
    console.log(res); res.name = res.name + 'modify string'; 
    return res;
  }
  </code></pre>
  <p>but show below message in console.log instead of the original response.</p>
  <pre><code>Observable { _isScalar: false, _subscribe: [Function] }
  </code></pre>