suryaparua-official commented on issue #12932:
URL: https://github.com/apache/apisix/issues/12932#issuecomment-3788016843

   Yes, agreed. This is expected behaviour caused by YAML type inference and 
Lua's use of double precision numbers, so its not a lua or APISIX issue.
   Since the values are identifiers and not intended for arithmetic, the 
correct solution is to define them as string at the configuration level by 
quoted them in YMAL. This prevents numeric parsing, precision loss, and 
scientific notation when the value reaches Lua.


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