fusionjs / fusion-plugin-rpc

Migrated to https://github.com/fusionjs/fusionjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update handler api to take `ctx` as a second argument

ganemone opened this issue · comments

The handler API should take ctx as a second argument. For example:

app.plugin(RPC, {handlers: {getUser: (args, ctx) => ''}});