Jimmy Forrester-Fellowes

Results 88 comments of Jimmy Forrester-Fellowes

I came here to open the exact same issue. thanks for the temporary solution

Hey @pulyaevskiy, hope you're doing alright over there? Don't suppose you had chance to consider this? Thanks

Thanks for the ideals @mtwichel, I don't suppose you have an example of your nodejs function? I'm guessing we need to wait for Dart to be added as a Runtime...

Also just spotted this [discussion topic](https://github.com/GoogleCloudPlatform/functions-framework-dart/discussions/249) which is talking about EventArc, this looks like a great solution for connecting firestore & storage to your functions_framework project.

> Thanks for letting me know. We are waiting for good news. Hey @Patrick386, If you're willing to have a slightly more complex setup you can do what you need...

> Unfortunately, I don’t think that use case is supported yet because EventArc doesn’t have events that you can hook into from changes to documents in Firestore or changes in...

Wow this is great, thanks @mtwichel. I will definetly gibe your solution a try. I also use GetIt for the same reasons - it makes testing much easier. I'll have...

Just seen that @grant has already created the necessary classes: https://github.com/grant/google-cloudevents-dart/blob/main/cloud/pubsub/v1/MessagePublishedData.dart I'm unclear how to use FF to parse my pubsub payload using this class. I can see how I...

I'm working my way around to testing this stuff, but just found pub sub endpoint example/test that's worth trying too: https://github.com/GoogleCloudPlatform/functions-framework-dart/blob/main/test/hello/lib/src/json_handlers.dart#L20

I've tried a couple of things but I'm getting errors when PubSub pushed to a Functions Framework endpoint. With the following code, [taken from the example here](https://github.com/GoogleCloudPlatform/functions-framework-dart/blob/main/test/hello/lib/functions.dart#L132): ```dart @CloudFunction() void...