Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
Thanks for the documentation explaining how to debug our PlayFab ExecuteFunction calls locally. It's been super helpful!
We've decided to use TypeScript for our functions, but still want to be able to debug locally. To this end, I've added support for debugging with TypeScript.
I based my TypeScript code off the csharp file provided by this repo. However, I decided it was best to proceed slightly differently with the TypeScript implementation.
Because I wanted to be sure that the code I'm providing is tested, I thought it might make sense to create a project specifically for the ExecuteFunction implementation. In this way it's possible to include a test suite, and to provide versioning to end users.
The intention is that this code can be injected via an npm repository . I suppose I'd remove my npm package and y'all could manage publishing to your own npm package so that I'm not the only person with publishing credentials 😅
After installing the npm package, one just needs to create a function.json file and a small js wrap around the imported function (this is all explained in the included readme)
I also added the function.json file and everything else needed to run this locally as a stand-alone project— I'm not sure this is beneficial 🤷
Thanks for considering my PR!