vansh-nagar opened a new pull request, #667:
URL: https://github.com/apache/shenyu-dashboard/pull/667

   Fixes #639.
   
   The JSON handle validator now determines the result first and invokes the 
async-validator callback exactly once. JSON mode accepts objects and rejects 
empty, malformed, null, array, and primitive inputs; the structured form keeps 
its existing behavior.
   
   The regression tests explicitly assert a single callback for valid, invalid, 
and non-JSON-form inputs.
   
   Checks run:
   
   - `npm run test:unit -- --no-watchman`
   - `npm run lint`
   - `npm run build`
   


-- 
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