Page MenuHomePhabricator

[lib] Introduce getEntityTextAsString
ClosedPublic

Authored by ashoat on Feb 3 2023, 12:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 28 2024, 12:39 AM
Unknown Object (File)
Oct 28 2024, 12:39 AM
Unknown Object (File)
Oct 28 2024, 12:38 AM
Unknown Object (File)
Oct 14 2024, 1:44 PM
Unknown Object (File)
Oct 8 2024, 5:57 AM
Unknown Object (File)
Sep 28 2024, 4:21 AM
Unknown Object (File)
Sep 26 2024, 4:25 AM
Unknown Object (File)
Sep 4 2024, 2:12 PM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable