We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author a provider class like:
class MyProvider { function action(actionParams) { console.log(actionParams) } }
When action method is called and returns it generates rpc method like:
{ "jsonrpc": "2.0", "method": "MyProvider.actionResponse", "params": { "correlationId": "abcdef-123-1111-111-1234234234" } }
It is missing result which is a required field in the generated specification for provider responses.
result
If changed to:
class MyProvider { function action(actionParams) { console.log(actionParams) return null } }
It should work as the result field gets set to null.
The Firebolt SDK should allow a provider method with no return. When result is undefined, set to null.
The text was updated successfully, but these errors were encountered:
kpears201
No branches or pull requests
Author a provider class like:
When action method is called and returns it generates rpc method like:
It is missing
result
which is a required field in the generated specification for provider responses.If changed to:
It should work as the result field gets set to null.
The Firebolt SDK should allow a provider method with no return. When result is undefined, set to null.
The text was updated successfully, but these errors were encountered: