zero-contrib
zero-contrib copied to clipboard
Fix: serialization Error of Nacos Parameters
Fix: serialization Error of Nacos Parameters (notLoadCacheAtStart, updateCacheWhenEmpty)
Greptile Summary
Fixed Nacos parameter serialization issues by adding 'string' tags to boolean fields in the target struct, ensuring proper handling of URL query parameters for configuration.
- Modified
zrpc/registry/nacos/target.goto add 'string' tag toNotLoadCacheAtStartandUpdateCacheWhenEmptyboolean fields - Added proper struct field alignment for improved code readability
- Ensures consistent parameter handling between URL queries and environment variables