Review main Merged

70590[FEATURE] Use LinkResult to generated Typolinks in Frontend

Tomek Woldański CR +2 V +2 Hard +675 −64 updated 04/19/22, 11:38

Commit message

This change introduces a new immutable object "LinkResult" along
with an interface, containing the base result of a generated
link by TypoLink.

This object contains all information needed to put
together a <a> tag or return a pure URL.

For the time being this new class is used to build
links from the typolink link builders, and in addition
should be able to be returned fully by typolink
in the future.

In addition, this object helps to build links needed
for e.g. JSON responses to contain all information
of the link to be serialized.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 15