Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stores Append Object #391

Closed
ASaiAnudeep opened this issue Dec 18, 2024 · 4 comments · Fixed by #392
Closed

Stores Append Object #391

ASaiAnudeep opened this issue Dec 18, 2024 · 4 comments · Fixed by #392
Assignees
Labels
enhancement New feature or request

Comments

@ASaiAnudeep
Copy link
Member

Is your feature request related to a problem? Please describe.

Append item to same path in the store

await spec().post('/user').stores('USER', '.').stores('USER', 'req.body')
@ASaiAnudeep ASaiAnudeep added the enhancement New feature or request label Dec 18, 2024
@ASaiAnudeep ASaiAnudeep self-assigned this Dec 18, 2024
@pactumjs pactumjs deleted a comment from Patrick1299 Dec 25, 2024
@pactumjs pactumjs deleted a comment from Patrick1299 Dec 25, 2024
@pactumjs pactumjs deleted a comment from Patrick1299 Dec 25, 2024
@ASaiAnudeep ASaiAnudeep linked a pull request Dec 25, 2024 that will close this issue
@Patrick1299

This comment was marked as off-topic.

@ASaiAnudeep
Copy link
Member Author

ASaiAnudeep commented Dec 25, 2024

I have closed this issue with the following fix

await spec()
  .post('/user')
  .stores('USER', '.')
  .stores('USER', 'req.body', { merge: true })

@Patrick1299

This comment was marked as off-topic.

@Patrick1299

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants