Skip to content

Restrict restSerializer options to the expected values + lean

Part of #2190 (closed)

Follow up to !1481 (merged)

This MR removes validation that was watching for unexpected properties and introduces a hard restriction on the possible options values.

The original option analysis seems to be mostly correct but there is one more option sometimes coming through from bayeux:

{lean: true}

Searching logs for unexpected options:

Thanks @MadLittleMods for entertaining my urge to clean this up 🍏

Edited by Tomas Vik (OOO back on 2024-08-12)

Merge request reports