functions-framework-dart
functions-framework-dart copied to clipboard
FaaS (Function as a service) framework for writing portable Dart functions
Docs currently require cloning the repo to run the examples. It's easier to have the user generate new examples to test and experiment with. - [ ] Update docs to...
Don't include $ for input code blocks to enable copy paste.
> Can we add a comment here? More comments like here would be useful, especially for non-dart devs. This applies to all classes. _Originally posted by @grant in https://github.com/GoogleCloudPlatform/functions-framework-dart/pull/87#discussion_r547527066_
Use a convention similar to the one commonly used for Go tests: keep data separate from test logic. This makes the tests more readable and easier to add new test...
Initial concept: tool should support package API that can be used by both a CLI and Cloud Code for enhancing developer experience working with Functions Framework for Dart projects, making...
I'm trying to access other Google Cloud Services in Cloud Run, so I need to know my project id at runtime. For now I'm just getting it via an environment...
``` ######################## FROM subfuzion/dart:slim COPY --from=0 /app/test/hello/bin/server /app/bin/server EXPOSE 8080 # Note: you may have to change things to support events, etc etc # ENTRYPOINT ["/app/bin/server", "--signature-type", "cloudevent"] ENTRYPOINT ["/app/bin/server"]...
`serve` currently does the work to find the right function. We could expose just the `run` bits that handle one function. Would be very useful for folks doing Cloud Run...
Might be nice ```dart // https://cloud.google.com/error-reporting/docs/formatting-error-messages#json_representation '@type': 'type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent', 'serviceContext': { 'service': Platform.environment['K_SERVICE'], 'version': Platform.environment['K_REVISION'], }, if (stackFrame != null) 'context': { 'reportLocation': { 'filePath': stackFrame.library, if (stackFrame.line != null) 'lineNumber':...
Updates the requirements on [actions/cache](https://github.com/actions/cache) to permit the latest version. Changelog Sourced from actions/cache's changelog. Releases 3.0.0 Updated minimum runner version support from node 12 -> node 16 3.0.1 Added...