wasmCloud/examples

Missing module specification in codegen.yaml

Closed this issue · 1 comments

The ecommerce fakepay interface does not work with wapc version 0.0.4.
The following codegen.yaml seems to work but needs to be checked:

schema: payments.widl
generates:
  src/generated.rs:
    module: '@wapc/widl-codegen/rust'
    visitorClass: ModuleVisitor
  src/lib.rs:
    ifNotExists: true
    module: '@wapc/widl-codegen/rust'
    visitorClass: ScaffoldVisitor
    config:
      use: generated

this won't be fixed in codegen.yaml but will be replaced with a smithy interface when examples get ported to smithy.