Apollo-link's "makePromise" equivalent in @apollo/client

I’m migrating from react-apollo to @apollo/client. I have code, similar to this:

makePromise(execute(link, operation))
   .then(data => {
    const { upvotePost } = data.data;
    this.setState({ update: upvotePost });
   .catch(error => console.log(`received error ${error}`));

It looks like the “makePromise” method did not make it to the @apollo/client. What is the best way to handle the above operation now?

Did you find a solution to this?