Skip to content

transform ViaSocket fields structure for new payload format#683

Open
Anushtha-Rathore wants to merge 4 commits intoWalkover-Web-Solution:testingfrom
Anushtha-Rathore:viasocket-fields-transformation
Open

transform ViaSocket fields structure for new payload format#683
Anushtha-Rathore wants to merge 4 commits intoWalkover-Web-Solution:testingfrom
Anushtha-Rathore:viasocket-fields-transformation

Conversation

@Anushtha-Rathore
Copy link
Contributor

  • Add Helper.transformFieldsStructure() to map 'required' to 'required_params'
  • Update createApi controller to accept fields directly
  • Recursively transform nested parameter objects"

@Anushtha-Rathore
Copy link
Contributor Author

@Anushtha-Rathore Anushtha-Rathore force-pushed the viasocket-fields-transformation branch from 1dec06d to 4adfbb2 Compare February 4, 2026 10:54
// const traversed_body = Helper.traverseBody(body_content);

let fields = body_content?.fields;
// const fields = traversed_body.fields || {};
Copy link
Collaborator

Choose a reason for hiding this comment

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

there is one more case in which we save the required params of the outer values in the root level currenlty they not saving also add them in them in this pr

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.

2 participants