jthomas commented on issue #2904: CLI always resets actions to default kind
URL: 
https://github.com/apache/incubator-openwhisk/issues/2904#issuecomment-339927194
 
 
   :+1: on moving the responsibility for merging to the API rather than the 
client. Does this also affect annotations and parameters?
   
   There's probably not a clean solution as we're using the same HTTP verb to 
handle two operations. 
   
   What about a "merge" query parameter (that defaults to false for backwards 
compatibility) that if the action exists will merge, rather than replace, the 
action definition? This is similar in semantics to the [UPSERT SQL command in 
Postgres](https://hashrocket.com/blog/posts/upsert-records-with-postgresql-9-5).
 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to