You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was debugging the issue in #194, I was receiving the following validation error:
Validation error in object: {"name":"nats","properties":{"contract":"wasmcloud:messaging","image":"wasmcloud.azurecr.io/nats_messaging:0.17.3"},"traits":[{"properties":{"spread":[{"name":"onkube","requirements":{"cosmo_connect":"k8s","kubernetes":"true"}}]},"type":"daemonscaler"}],"type":"capability"}
Object path: /spec/components/1Validation error in object: {"name":"applier","properties":{"contract":"cosmonic:kubernetes_applier","image":"wasmcloud.azurecr.io/applier:0.3.0"},"traits":[{"properties":{"spread":[{"name":"onkube","requirements":{"cosmo_connect":"k8s","kubernetes":"true"}}]},"type":"daemonscaler"}],"type":"capability"}
Object path: /spec/components/2Validation error in object: {"name":"httpserver","properties":{"contract":"wasmcloud:httpserver","image":"wasmcloud.azurecr.io/httpserver:0.19.1"},"traits":[{"properties":{"spread":[{"name":"onkube","requirements":{"cosmo_connect":"k8s","kubernetes":"true"}}]},"type":"daemonscaler"}],"type":"capability"}
Object path: /spec/components/3
While this is better than nothing, what it doesn't do is provide any indication as to what is missing or wrong with the data. We should update our errors to be more clear about what is missing. An error above should have said something like
Validation error with component "nats": Missing field `replicas`
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!
When I was debugging the issue in #194, I was receiving the following validation error:
While this is better than nothing, what it doesn't do is provide any indication as to what is missing or wrong with the data. We should update our errors to be more clear about what is missing. An error above should have said something like
The text was updated successfully, but these errors were encountered: