Skip to content

Libs created from this template not working on browser #34

@duynguyen

Description

@duynguyen

AIO SDK libs (e.g. aio-lib-analytics) created from this template can be used in Runtime actions. However, in some cases they should be used directly on the client side to fetch data from the backend service (little or no processing) without making a detour to the actions. Using those libs in the client JS code is yet not working.

Expected Behaviour

I should be able to use the libs in client side code (e.g. useEffect() in React).

Actual Behaviour

This error is printed out in browser console: TypeError: Swagger is not a constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions