You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Operation is defined as a single action a user can make.
It can be exposed as a Route too
The goal is to have several way of calling an operation: cli, websocket, rest api, graphql mutation, slack
The operation is then called and executed (using the async framework)
Currently you can already expose Operation with the @Operation annotation
There is a way to export current application operations with the webda operations <exportFile> command
It export as json definition or as a typescript code
You can call an operation with Core.get().callOperation(operationName, context)
We need to continue experimenting with this and add the different possible interfaces
The Operation annotation can be enriched to include the WebdaQL query to validate Context or Session prior to call
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
An Operation is defined as a single action a user can make.
It can be exposed as a Route too
The goal is to have several way of calling an operation: cli, websocket, rest api, graphql mutation, slack
The operation is then called and executed (using the async framework)
Currently you can already expose Operation with the
@Operation
annotationThere is a way to export current application operations with the
webda operations <exportFile>
commandIt export as json definition or as a typescript code
You can call an operation with
Core.get().callOperation(operationName, context)
We need to continue experimenting with this and add the different possible interfaces
The Operation annotation can be enriched to include the WebdaQL query to validate Context or Session prior to call
Beta Was this translation helpful? Give feedback.
All reactions