#9687 fix: Serialize nested date-time values in plugin configuration
Pull request opened by
edgarrmondragon
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Ensure plugin configurations and related JSON outputs correctly serialize date and datetime values while improving error handling for catalog rule application.
Bug Fixes:
• Fix JSON serialization of date and datetime values in singer tap configuration files, including nested structures and lists.
• Fix JSON serialization of complex configuration payloads and CLI config output that may contain date-like values.
Enhancements:
• Improve PluginExecutionError construction in catalog rule application by simplifying error message handling.
Tests:
• Add regression test verifying that singer tap before_configure properly serializes date and datetime objects, including nested and list values, to ISO-formatted JSON.
## Summary by Sourcery
Ensure singer plugin configuration and related JSON outputs correctly serialize date and datetime values while improving catalog rule error handling.
Bug Fixes:
• Serialize date and datetime values in singer tap configuration files, including nested objects and lists, using a custom JSON encoder.
• Use the same custom JSON encoder when generating catalog cache keys and CLI JSON config output to avoid serialization errors for date-like values.
Enhancements:
• Simplify PluginExecutionError construction and messaging when catalog files are missing or invalid.
Tests:
• Add an async regression test validating that singer tap before_configure writes ISO-formatted date and datetime values, including nested and list entries, to its JSON config file.
meltano/meltano