tailcall icon indicating copy to clipboard operation
tailcall copied to clipboard

feat(wasm): support for NPM and Browser

Open ssddOnTop opened this issue 1 year ago • 3 comments

Issue Reference(s):
Fixes #1038 /claim 1038

TODO

  • [x] add tests
  • [x] fix logging
  • [x] fix cache

ssddOnTop avatar May 09 '24 19:05 ssddOnTop

Codecov Report

Attention: Patch coverage is 6.74157% with 166 lines in your changes missing coverage. Please review.

Project coverage is 86.75%. Comparing base (384ebf2) to head (4aa8665).

Files Patch % Lines
tailcall-wasm/src/builder.rs 0.00% 59 Missing :warning:
tailcall-wasm/src/lib.rs 0.00% 33 Missing :warning:
tailcall-wasm/src/runtime.rs 0.00% 29 Missing :warning:
tailcall-wasm/src/http.rs 0.00% 24 Missing :warning:
tailcall-wasm/src/env.rs 0.00% 9 Missing :warning:
tailcall-wasm/src/file.rs 0.00% 9 Missing :warning:
src/core/cache.rs 80.00% 3 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1908      +/-   ##
==========================================
- Coverage   87.34%   86.75%   -0.60%     
==========================================
  Files         239      245       +6     
  Lines       23827    24001     +174     
==========================================
+ Hits        20811    20821      +10     
- Misses       3016     3180     +164     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 10 '24 07:05 codecov[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 13 '24 15:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 15 '24 17:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 17 '24 18:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 20 '24 17:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 27 '24 13:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar May 30 '24 04:05 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 05 '24 09:06 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 07 '24 15:06 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 09 '24 17:06 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 11 '24 20:06 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 14 '24 05:06 github-actions[bot]

Action required: PR inactive for 2 days. Status update or closure in 5 days.

github-actions[bot] avatar Jun 16 '24 07:06 github-actions[bot]

PR closed after 5 days of inactivity.

github-actions[bot] avatar Jun 21 '24 21:06 github-actions[bot]

Unable to run Tailcall via the browser.

Moving to draft to reduce noise and improve CI efficiency. Once you are ready just mark it as "ready to review". Feel free to give a shoutout on the #contributors channel on Discord if you want immediate attention.

tusharmath avatar Jul 27 '24 07:07 tusharmath

Unable to run Tailcall via the browser.

Updated docs..

after running python server, you need to pass a query ?config=<> example:

http://0.0.0.0:8000/example/browser/?config=https://raw.githubusercontent.com/tailcallhq/tailcall/main/examples/jsonplaceholder.graphql

ssddOnTop avatar Jul 27 '24 09:07 ssddOnTop