-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add example app #689
Add example app #689
Conversation
@@ -18,6 +21,15 @@ impl Intf for Component { | |||
fn helloworld2() -> Result<String, CommonTypes::Error> { |
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.
you could also delete helloworld and helloworld2 if you want, just to clean up the example app
dev/demoapp1-build-and-deploy.sh
Outdated
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.
At some point this should also be deleted. We can just set up demoapp1 in cmake so it's not deployed separately. Should also help make sure we don't break demoapp1 when its dependencies change (if we change common plugin interfaces, and such, for example).
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.
👍
@James-Mart I've made those changes except the Rust wrapper import, I can't crack that... will try get on a call and sus it. |
@@ -3,11 +3,16 @@ package demoapp1:example; | |||
interface intf { | |||
use common:plugin/types.{error}; | |||
helloworld2: func() -> result<string, error>; | |||
multiply: func(a: u32, b: u32) -> result<string, error>; |
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.
Bit odd for multiply
to return a string
Feel free to merge before you start getting merge conflicts |
No description provided.