-
Notifications
You must be signed in to change notification settings - Fork 176
[DNM][WIP] Update templates (instanced signature) #3378
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7487bf7 to
b7f9697
Compare
f9d335e to
73387d9
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3378 +/- ##
=======================================
Coverage 54.60% 54.61%
=======================================
Files 173 173
Lines 19807 19814 +7
=======================================
+ Hits 10816 10821 +5
- Misses 7860 7861 +1
- Partials 1131 1132 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3fbf389 to
4556925
Compare
4556925 to
9e11fe4
Compare
|
/test all |
b3a6a98 to
9e8a5aa
Compare
9e8a5aa to
314e76e
Compare
314e76e to
7a776ad
Compare
d842983 to
e81e584
Compare
e81e584 to
2e63f49
Compare
389f658 to
d85507b
Compare
9f35948 to
62cc5e5
Compare
62cc5e5 to
53c2160
Compare
| }) | ||
| await send({ | ||
| 'type': 'http.response.body', | ||
| 'body': url.encode(), |
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.
Does encode make sense with a string that is not an url?
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.
Maybe it does I don't know.
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.
This is string -> bytes conversion. thats whats required in the struct. I think this is equivalent to b"OK". You can specify what encoding you want "utf-8" "ascii" but we just use basic (no argument) which is utf-8
| _ = fromCleanEnv(t, name) | ||
|
|
||
| if err := newCmd(t, "init", "-l=go").Run(); err != nil { | ||
| if err := newCmd(t, "init", "-l=go", |
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.
Why now there is a git repo?
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.
Ah that's a repo for templates, not func src code?
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.
yes im keeping the "echo" functionality and using the template to do it
http templates now return: "OK" string
cloudevents templates now return: json {"message":"OK"}