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

Adapt to latest protocol changes #57

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Adapt to latest protocol changes #57

merged 1 commit into from
Sep 18, 2023

Conversation

tortmayr
Copy link
Contributor

@tortmayr tortmayr commented Sep 15, 2023

GLSP-1116 Revise model loading

GLSP-1117: Remove need for explicit definition of client actions

Refactor the base GLSP protocol to allow the client to tell the server which actions it is going to handle i.e. which actions should be forwarded to the client

  • Add clientActions array to InitializeClientSessionParams. This means the client now has to pass the action kinds it wants to handle as part of the initalize request
  • Replace ClientActionHandler with ClientActionForwader a separate component that is not part of the server-side action handlers.
  • Remove configureClientActions method from DiagramModule as the explicit configuration is no longer needed

Part of eclipse-glsp/glsp/issues/1117

GLSP-1071: Rename ServerStatus/ServerMessage action Part of eclipse-glsp/glsp/issues/1071

# GLSP-1116 Revise model loading
- Refactor `ModelSubmissionHandler` to support proper handling of the `RequestModelAction`
as real request action 
Part-of: eclipse-glsp/glsp#1116

# GLSP-1117: Remove need for explicit definition of client actions

Refactor the base GLSP protocol to allow the client to tell the server which actions it is going to handle i.e. which actions should be forwarded to the client
- Add `clientActions` array to `InitializeClientSessionParams`. This means the client now has to pass the action kinds it wants to handle as part of the initalize request
- Replace `ClientActionHandler` with `ClientActionForwader` a separate component that is not part of the server-side action handlers. 
- Remove `configureClientActions` method from `DiagramModule` as the explicit configuration is no longer needed

Part of eclipse-glsp/glsp/issues/1117

#GLSP-1071: Rename ServerStatus/ServerMessage action
Part of eclipse-glsp/glsp/issues/1071
Copy link
Member

@planger planger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good to me! 👍

@tortmayr tortmayr merged commit b17a86c into main Sep 18, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants