Conversation
|
Claude finished @rjvelazco's task in 1m 16s —— View job PR Review
Fix is correct and targeted. A few things worth a second look: 1. Missing test for string The spec covers string 2. Inconsistency between
3.
4.
5. The type guard Overall: clean fix, no design problems, no security issues. The two items above (missing string-false test, |
…nt-type-builder-due-to-unhandled-boolean-value-from-config-endpoint
Summary
DotPropertiesService.getFeatureFlag()to correctly handle native JSON boolean values (true/false) returned by/api/v1/configuration/configforFEATURE_FLAG_*keys — previously only string"true"was handled, causing feature flags to silently evaluate asfalseand hiding the Style Editor tab in the Content Type BuildergetKey()return type fromObservable<string>toObservable<string | boolean>to match the actual API contractDotWysiwygPluginServiceandDotContainersServicecaused by the widened return typeTest plan
yarn nx test data-accesspasses including the two new booleantrue/falseunit test casesFEATURE_FLAG_UVE_STYLE_EDITOR_FOR_TRADITIONAL_PAGESis enabled on the backend"true"/"false"continue to work correctly (backward compatibility)Fixes #35331
Video
video.mov
🤖 Generated with Claude Code