-
Notifications
You must be signed in to change notification settings - Fork 16
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
(PXP-9480): Support merge param for PUT /resource endpoint #143
Conversation
@@ -1105,6 +1105,35 @@ func TestServer(t *testing.T) { | |||
getResourceWithPath(t, "/Godel,/completeness_theorem") | |||
}) | |||
|
|||
t.Run("Merge", func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could maybe add one more test or command in here that updates an existing subresource instead of top level. So like update the dog
resource, add goldenretriever
or something. What's the behavior if you do that but leave out corgi
? I assume it also stays around?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the expected behavior would be that corgi
stays around.
Jira Ticket: PXP-9480
As part of improving DRS endpoint performance, to enable creating multiple study resources with a single request and not have existing
/programs
subresources overwritten, support amerge
param for thePUT /resource
endpoint.Corresponding PRs
New Features
merge
param forPUT /resource
endpoint so that existing subresources are not overwritten