Skip to content
#

triggers

Here are 142 public repositories matching this topic...

dibyom
dibyom commented Oct 12, 2020

Expected Behavior

We use a helper function to generate rawExtension objects needed in tests

Actual Behavior

Currently manually setting an []byte with inline json string in quite a few tests which makes the tests brittle.
For some error cases, this might be useful but generally we should use the helper function when possible.

Additional Info

func rawExtension(t *testin
alexellis
alexellis commented Jan 14, 2019

Task:

  • Update invokefunction to return the response headers
  • Update the caller function named Invoke to return the body, statusCode and errors
  • Update example to print statusCode and body

Suggested by Simon Pezcler and Rishabh Gupta so that connectors can do better debug and potentially use the result for something.

Right now the result is abandoned.

Improve this page

Add a description, image, and links to the triggers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the triggers topic, visit your repo's landing page and select "manage topics."

Learn more