weizhouapache commented on issue #70:
URL: https://github.com/apache/cloudstack-go/issues/70#issuecomment-1935498554

   > Since this is optional in newer versions but not removed, the go-sdk can 
still call/pass it?
   
   @rohityadavcloud 
   as understand, the main problem is, users have to adapt their code for the 
newer version, which cause backward compatibility
   
   for example, with old go-sdk, they can create networkACL parameter by
   ```
   params := 
cloudstack.NetworkACLServiceIface.NewCreateNetworkACLListParams(name, vpcId)
   ```
   
   now they have to use
   ```
   params := 
cloudstack.NetworkACLServiceIface.NewCreateNetworkACLListParams(name)
   params.SetVpcId(vpcId)
   ```
   
   Both methods should be supported.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to