SCAL-321279 Additional flag should be top level override, show analyse and fix it SDK#567
SCAL-321279 Additional flag should be top level override, show analyse and fix it SDK#567shivam-kumar-ts wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the application of additionalFlags across various embed types by introducing a centralized applyAdditionalFlagsOverride helper in TsEmbed. This ensures that additional flags are applied as the final step and correctly override other query parameters. Unit tests have also been added to verify this behavior. The review feedback suggests reassigning the returned value of applyAdditionalFlagsOverride in AppEmbed to ensure future-proof compatibility if the method is refactored to be non-mutating, and adding a defensive check in applyAdditionalFlagsOverride to prevent potential runtime TypeErrors if queryParams is undefined.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
commit: |
c0340aa to
864b1c1
Compare
WILL MERGE AFTER FEW TESTING