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
Instead of having a growing list of configuration keys, or writing the state to disk before; consider those directives existing in the expression itself (being either added automatically by the server or directly by the user).
const state = getState(...)
const configuration = getConfiguration(...)
This would allow other things like multiple credentials for more complex jobs...
const myCert = OpenFn.getCredential('myCert')
...
And last but not least, unpacking finalState from core.
OpenFn.writeState(state)
The OpenFn provided functions would need to be bound to the job on the server in order to authenticate and tie back any data to the specific invocation etc.
This pattern is only achievable once we are able to write more than just callExpressions on the root - same as #21
The text was updated successfully, but these errors were encountered:
Instead of having a growing list of
configuration
keys, or writing thestate
to disk before; consider those directives existing in the expression itself (being either added automatically by the server or directly by the user).This would allow other things like multiple credentials for more complex jobs...
And last but not least, unpacking
finalState
from core.The
OpenFn
provided functions would need to be bound to the job on the server in order to authenticate and tie back any data to the specific invocation etc.This pattern is only achievable once we are able to write more than just
callExpressions
on the root - same as #21The text was updated successfully, but these errors were encountered: