Helllo. I am trying to use Spring webclient to send post requests and fill the body with an object. But I receive the following " 'fromObject(T)' is deprecate". What is the alternative then ?
WebClient.post()
.uri("example.com")
.body(BodyInserters.fromObject(newObject);