title: Cannot convert from List<Mono<BOLCompliance>> to List<BOLCompliance>
body: <p>I had a method createComplianceResponse() which was returning BOLCompliance object before which I changed to Mono of BOLCompliance as I had to call another reactive service inside it.
  But after doing that, my current service from which I was making the call to this service is giving errors at line 6 and 7.</p>
  <pre><code>1) Cannot convert from Mono&lt;Object&gt; to Mono&lt;List&lt;BOLCompliance&gt;&gt;
  2) Cannot convert from List&lt;Mono&lt;BOLCompliance&gt;&gt; to List&lt;BOLCompliance&gt;
  </code></pre>
  <pre><code>    private Mono&lt;List&lt;BOLCompliance&gt;&gt; getComplienceRouteLink(BOLRouteLink routeLink, BillOfLadingResponse bol) {
          if (null != routeLink.getComplianceIds() &amp;&amp; !routeLink.getComplianceIds().isEmpty()) {
              Mono&lt;List&lt;Compliance&gt;&gt; complianceList = Flux
                      .fromIterable(routeLink.getComplianceIds()).flatMap(cmp -&gt;
                              complianceCaller.getComplianceById(cmp)).collectList();
              return complianceList.flatMap(compliancesOld -&gt; {
                  List&lt;BOLCompliance&gt; complianceResponses = compliancesOld.parallelStream()
                          .map(compliance -&gt; createComplianceResponse(compliance,bol)
                          ).collect(Collectors.toList());
                  return Mono.just(complianceResponses);
              });
          }
  </code></pre>
  <p>My other service for whom I changed return type is</p>
  <pre><code>private Mono&lt;BOLCompliance&gt; createComplianceResponse(Compliance compliance, BillOfLadingResponse bol);
  </code></pre>