Skip to content

Support for scoped adapters? #403

Closed
Closed
@ryanvanoss

Description

@ryanvanoss

Currently the resolveAdapterPath uses Node's path.parse method, and examines the dir property to determine if the adapter path is an npm module name, or a path.

adapter.js:129-131

// Check if inboundAdapterPath is a path or node module name
let parsed = path.parse(inboundAdapterPath);
let isPath = parsed.dir.length > 0;

However, this will incorrectly assign scoped packages as paths (e.g. inboundAdapterPath === '@foo/bar').

Is there a plan to support scoped packages?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions