-
Notifications
You must be signed in to change notification settings - Fork 8
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 Check command to check if a component is compatible with edgee #198
add Check command to check if a component is compatible with edgee #198
Conversation
tested with rs component
|
cdee835
to
073519d
Compare
Imho, the Also, would it be possible to infer the component type (data collection, consent mapping, etc.) without specifying it with |
I'll wrap the errors ! Regarding the second question, I am not sure that we can detect the component type (directly from a wasm file i mean). |
We should be able to inspect the interface and check what it's export. Something like this:
At some point the output should contain
|
For me, this tool checks that the component implements a given world (and not the world that is in the component itself) Eg if an user creates a cmp component, and defines it as a data-collection component in the registry, the tool should check the component against the data-collection component type and not the cmp component type (the one that is detected by wasm tools component wit) |
I think this command isn't going to be used by OSS developers too often and we probably want to automatically run it before |
Exactly, its to precheck on the client side before we check it ourself on server side ! |
73c413e
to
dee49cc
Compare
e3b12da
to
0947c3b
Compare
Checklist
@KokaKiwi it is set to merge into your branch