-
Notifications
You must be signed in to change notification settings - Fork 66
feat: Define strongly typed function interface #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
64dfd62
to
f210d68
Compare
fd251c0
to
ec1eee2
Compare
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
157d722
to
f640d96
Compare
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
f640d96
to
a9f27a8
Compare
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
a9f27a8
to
5f75eca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Show resolved
Hide resolved
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
functions-framework-api/src/main/java/com/google/cloud/functions/TypedFunction.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/TypedFunctionExecutor.java
Outdated
Show resolved
Hide resolved
invoker/core/src/main/java/com/google/cloud/functions/invoker/http/HttpResponseImpl.java
Outdated
Show resolved
Hide resolved
invoker/core/src/test/java/com/google/cloud/functions/invoker/IntegrationTest.java
Show resolved
Hide resolved
a8a8a21
to
61e6dc8
Compare
73ddf8e
to
448e23f
Compare
448e23f
to
9af954a
Compare
9af954a
to
f557752
Compare
f557752
to
5ace65f
Compare
Introduces a new
Typed
signature to the functions framework which provides automatic request deserialization and response serialization.