Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 6, 2025

Adds comprehensive edge case testing across two components:
Tool Call Result Converter:

  • Empty collections (List, Map, arrays) → proper JSON empty structures
  • Java records → correct JSON serialization
  • Special characters in strings → proper JSON escaping (", \n, \t, )

Redis Vector Store Filter Expressions:

  • Special Redis characters (@, {, }, |) → proper escaping
  • Empty string values → correct Redis syntax ({})
  • Single-item IN expressions → optimized formatting
  • Field names with whitespace/quotes → proper quoting

Improves test coverage for collections containing special characters and empty collections.

@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko merged commit 196a91b into spring-projects:main Aug 6, 2025
2 checks passed
juntae6942 pushed a commit to juntae6942/spring-ai that referenced this pull request Aug 7, 2025
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants