#3091 fix: Correctly resolve JSON schema references when mulitple properties use the same reference
Pull request opened by
edgarrmondragon
## Related
• Closes
#3090
• Introduced by
#3009
## Summary by Sourcery
Ensure JSON schema references are correctly dereferenced when multiple properties refer to the identical component to prevent shared-state issues
Bug Fixes:
• Correct JSON schema resolution when multiple properties reference the same schema component
Tests:
• Add a test case for resolving multiple properties using the same JSON schema reference
## Summary by Sourcery
Fix JSON schema reference resolution to correctly dereference identical components for multiple properties without shared-state issues
Bug Fixes:
• Ensure separate resolution of identical schema references used by multiple properties to prevent state leakage
Enhancements:
• Switch visited_refs from a mutable set to an immutable tuple to accurately track recursion depth
Tests:
• Add a test case for resolving multiple properties referencing the same JSON schema component
meltano/sdk