##Help with invoke using 'fromEventObservable' syntax

1 messages ยท Page 1 of 1 (latest)

kind kraken
#

Do you still need help here?

shrewd saffron
#

No thanks, I found the solution . ๐Ÿ™

shrewd saffron
#

Hey @kind kraken , looks like the value of input is not being passed for fromEventObservable

#

runstatement function doee not get the input here:
invoke: {
src: fromEventObservable(runStatement),
input: ({ event }) => ({
dsql: event.dsql,
selectedDB: event.selectedDB,
selectedSchema: event.selectedSchema,
selectedStore: event.selectedStore
})
},

#

but when I switch to fromObservable, it get's the input

#

is this a bug?

kind kraken
#

This may be a bug, can you file an issue?

shrewd saffron
#

will do

shrewd saffron
#

I think the same thing is happening for fromCalback too

#

Or I don't know how to pass input to fromCallback