Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
33 stars 82 forks source link

client, repeatability-first-sent should be set when sending request #2839

Closed weidongxu-microsoft closed 3 months ago

weidongxu-microsoft commented 3 months ago

A Mono can be created well before the subscribe.

Put DateTime.now() into lambda, so that it will be created when Mono runs.

code and test https://github.com/Azure/autorest.java/pull/2839/commits/793be03b74214d3387288ce9e82fd4a759324aa1

haolingdong-msft commented 3 months ago

The changes look good to me, just would like to know, have we met service complaning repeatability-first-sent is using wrong timestamp?