lxbme commented on code in PR #3438:
URL: https://github.com/apache/apisix-dashboard/pull/3438#discussion_r3635508958


##########
src/utils/producer.ts:
##########
@@ -102,8 +117,7 @@ export const pipeProduce = (...funcs: ((a: any) => 
unknown)[]) => {
         ...fs,
         produceRmDoubleUnderscoreKeys,

Review Comment:
   Confirmed and fixed in 75df9865. The `__`-flag removal now runs inside 
`produceCleanPreservingUserValues`, after the `plugins` subtree is detached — 
so plugin JSON never sees the `__` cleaner or the deep-clean and passes through 
verbatim. The separate `produceRmDoubleUnderscoreKeys` pipeline stage (and its 
now-dead export) is removed. Added a unit regression: `{ "my-plugin": { 
"__mode": "strict" } }` now survives the pipeline unchanged (red before, green 
after).
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to