Skip to content

Conversation

@reeshika-h
Copy link
Contributor

  • Improved error logging for 'items' processing
  • Added test for real API call to syncContentType

…items' processing

Added test for real API call to syncContentType.
@reeshika-h reeshika-h requested a review from harshithad0703 June 4, 2025 10:56
@aman19K aman19K requested a review from Copilot June 4, 2025 10:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the SyncStack module by allowing the processing of items provided as ArrayLists and improves error logging while adding a new integration test for syncContentType real API calls.

  • Added ArrayList support for 'items' processing in SyncStack.
  • Improved error logging messages for invalid 'items' types.
  • Introduced a real API call test for syncContentType with asynchronous handling.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/test/java/com/contentstack/sdk/TestSyncStack.java Added testRealSyncContentType method to validate actual API responses.
src/main/java/com/contentstack/sdk/SyncStack.java Handled ArrayList in items processing with additional logging.

nadeem-cs
nadeem-cs previously approved these changes Jun 4, 2025
…ancing flexibility in handling various collection types.
Copy link

@AniketDev7 AniketDev7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@reeshika-h reeshika-h marked this pull request as ready for review June 5, 2025 07:11
@reeshika-h reeshika-h requested a review from a team as a code owner June 5, 2025 07:11
@reeshika-h reeshika-h merged commit 043e2c7 into development Jun 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants