@@ -214,7 +214,7 @@ type Client interface {
214
214
Telemetry (ctx context.Context , params interface {}) (err error )
215
215
RegisterCapability (ctx context.Context , params * RegistrationParams ) (err error )
216
216
UnregisterCapability (ctx context.Context , params * UnregistrationParams ) (err error )
217
- ApplyEdit (ctx context.Context , params * ApplyWorkspaceEditParams ) (result bool , err error )
217
+ ApplyEdit (ctx context.Context , params * ApplyWorkspaceEditParams ) (result * ApplyWorkspaceEditResponse , err error )
218
218
Configuration (ctx context.Context , params * ConfigurationParams ) (result []interface {}, err error )
219
219
WorkspaceFolders (ctx context.Context ) (result []WorkspaceFolder , err error )
220
220
}
@@ -367,12 +367,12 @@ func (c *client) UnregisterCapability(ctx context.Context, params *Unregistratio
367
367
}
368
368
369
369
// ApplyEdit sends the request from the server to the client to modify resource on the client side.
370
- func (c * client ) ApplyEdit (ctx context.Context , params * ApplyWorkspaceEditParams ) (result bool , err error ) {
370
+ func (c * client ) ApplyEdit (ctx context.Context , params * ApplyWorkspaceEditParams ) (result * ApplyWorkspaceEditResponse , err error ) {
371
371
c .logger .Debug ("call " + MethodWorkspaceApplyEdit )
372
372
defer c .logger .Debug ("end " + MethodWorkspaceApplyEdit , zap .Error (err ))
373
373
374
374
if err := Call (ctx , c .Conn , MethodWorkspaceApplyEdit , params , & result ); err != nil {
375
- return false , err
375
+ return nil , err
376
376
}
377
377
378
378
return result , nil
0 commit comments