Page MenuHomePhabricator

[lib] Move `MinimallyEncoded*` validators to their own file
ClosedPublic

Authored by atul on Nov 13 2023, 2:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 4:44 PM
Unknown Object (File)
Mon, Dec 9, 8:28 AM
Unknown Object (File)
Mon, Nov 25, 5:56 PM
Unknown Object (File)
Sun, Nov 24, 8:46 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Unknown Object (File)
Nov 16 2024, 8:43 PM
Subscribers
None

Details

Summary

This resolved circular dependency issue I experienced when trying to fix checkIfDefaultMembersAreVoiced.


Depends on D9848

Test Plan

Flow/ESLint/Jest

IDE "Move" functionality handled this entire refactor, didn't do it by hand

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Nov 13 2023, 2:59 PM
tomek added inline comments.
lib/permissions/minimally-encoded-thread-permissions-validators.js
2–3 ↗(On Diff #33170)

Do we need two separate imports from tcomb?

This revision is now accepted and ready to land.Nov 14 2023, 5:30 AM

address feedback (merge imports)

lib/permissions/minimally-encoded-thread-permissions-validators.js
2–3 ↗(On Diff #33170)

Ah we don't. IDE auto-import doesn't handle this situation "correctly," will double check going forward.

This revision was landed with ongoing or failed builds.Nov 14 2023, 11:56 AM
This revision was automatically updated to reflect the committed changes.