Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

[idea?] simulate events for netlify event triggered functions #106

Closed
swyxio opened this issue Apr 9, 2019 · 7 comments
Closed

[idea?] simulate events for netlify event triggered functions #106

swyxio opened this issue Apr 9, 2019 · 7 comments
Assignees

Comments

@swyxio
Copy link
Contributor

swyxio commented Apr 9, 2019

- Do you want to request a feature or report a bug?
feature

- What is the expected behavior?
help with local testing on netlify event triggered functions by firing them with mock data?

@swyxio swyxio changed the title [idea?] netlify functions:simulate [idea?] simulate events for netlify event triggered functions Apr 16, 2019
@ZoltanVeres
Copy link

Yes, +1 for this!

@swyxio
Copy link
Contributor Author

swyxio commented Apr 24, 2019

:)

we are in the process of hiring people to build out netlify dev, i'll leave this to them to work out

@ZoltanVeres
Copy link

There is very few information about the event triggered functions, especially about the datastructure it gets passed in. I might be able to help if i get this information. I want to use it to invoke lighthouse-ci every time a new PR is generated.We want to use it in the official gatsby-netlifycms starter and prob. In netlifycms repo as well.

@swyxio
Copy link
Contributor Author

swyxio commented Apr 24, 2019

hmm, yeah, even i dont know that much. this is all we've got. https://www.netlify.com/docs/functions/#event-triggered-functions

@ZoltanVeres
Copy link

Posted a question to Netlify Community asking about more clarifications. fingers crossed!

@swyxio
Copy link
Contributor Author

swyxio commented Jul 3, 2019

note to @RaeesBhatti : we can make this more general, we can mock triggering all sorts of functions locally

@RaeesBhatti RaeesBhatti self-assigned this Jul 4, 2019
@swyxio
Copy link
Contributor Author

swyxio commented Jul 23, 2019

fyi added here #213

@swyxio swyxio closed this as completed Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants