Skip to content

Openapi SDK integration in Yew web app #10

@francescobianco

Description

@francescobianco

Trying to call SDK from Yew component:

wasm_bindgen_futures::spawn_local(async move {
    let users = client.get_users().await.unwrap();
});

Compilation fails with Client not wasm-bindgen compatible. Is there a recommended approach for SDK usage in WASM/Yew projects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions