1.1.0 • Published 6 months ago

@startier/ohrid-local-driver v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

@startier/ohrid-local-driver

A driver for @startier/ohrid that executes methods locally.

!WARNING
This driver doesn't have any RPC or transport protocols associated with it. It should only be used for testing.

Usage

Install the package using npm (or anything compatible):

npm install @startier/ohrid-local-driver

Add the driver to services.json.

Global

{
  "driver": "@startier/ohrid-local-driver"
}

Service-specific

{
  "services": {
    "example": {
      "driver": "@startier/ohrid-local-driver",
      "settings": {}
    }
  }
}

Settings

{
    executeRemoteCalls?: boolean
}

executeRemoteCalls

When set to true remote calls are executed as if they were local instead of throwing an exception.

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago