-
Notifications
You must be signed in to change notification settings - Fork 41
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
Added backend communication template #65
Conversation
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.
The changes work well, I was able to see the output of both commands on the backend.
I have some general comments about the pull-request.
src/app/index.ts
Outdated
@@ -130,6 +131,7 @@ module.exports = class TheiaExtension extends Base { | |||
{ value: ExtensionType.HelloWorld, name: 'Hello World' }, | |||
{ value: ExtensionType.Widget, name: 'Widget' }, | |||
{ value: ExtensionType.LabelProvider, name: 'LabelProvider' }, | |||
{ value: ExtensionType.Backend, name: 'Backend communication' }, |
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.
minor: Backend Communication
isntead of Backend communication
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.
done
@inject(HelloBackendWithClientService) private readonly helloBackendWithClientService: HelloBackendWithClientService, | ||
@inject(HelloBackendService) private readonly helloBackendService: HelloBackendService, |
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.
The injections should be outside the constructor, they align with our coding guidelines:
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.
Not consistent with other examples, too, suggest to fix it for all (I can do that):
#66
templates/backend/contribution.ts
Outdated
execute: () => this.helloBackendService.sayHelloTo('World').then(r => console.log(r)) | ||
}); | ||
} | ||
} |
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.
minor: include a newline (same for all other files present in the pull-request).
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.
done
fixed eclipse-theia#64 Signed-off-by: Jonas Helming <[email protected]>
eddb063
to
1418dd6
Compare
Can we merge this? |
Sure, I assume you want to do this for the whole repo instead of fixing this pull-request? |
yes... |
@marcdumais-work would you be able to perform a release? |
Sure thing! Give me a few minutes. |
|
thanks! |
fixed #64
Signed-off-by: Jonas Helming [email protected]
How to test: