HomePhabricator
Diffusion Comm 34d274e7ae57

[lib] Introduce getEntityTextAsString

Description

[lib] Introduce getEntityTextAsString

Summary:
This diff builds on its parent (which introduces getENSNames) and introduces an async function that will resolve EntityText to a string, with ENS names swapped out.

This function along with useEntityTextAsString should replace most places we call entityTextToRawString today.

Depends on D6565

Test Plan: Tested in combination with following diffs, where it's actually used

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D6566

Details

Provenance
ashoatAuthored on Feb 3 2023, 11:56 AM
Reviewer
atul
Differential Revision
D6566: [lib] Introduce getEntityTextAsString
Parents
rCOMMbeebb3904ead: [lib] Introduce getENSNames: async function equivalent to useENSNames
Branches
Unknown
Tags
Unknown