This repository was archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HYP-851 Extract function signatures
We'll need to be able to "read" the user's functions so we can map them to GraphQL. In a compiler transform:
The runtime will use the metadata to generate corresponding GraphQL Schema. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@typescript-eslint/eslint-plugin@7.4.0, npm/@typescript-eslint/parser@7.4.0, npm/assemblyscript@0.27.25 |
d515644
to
cb096ca
Compare
I also updated some of the CI workflows, and added a new one that builds the example projects. You can see the hypermode build output in the logs here: https://github.com/gohypermode/functions-as/actions/runs/8541390881/job/23400607095?pr=39#step:8:1 |
jairad26
approved these changes
Apr 3, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR is dependent on AssemblyScript/assemblyscript#2832, released with AssemblyScript 0.27.26.
Completes HYP-851
Note, the embedded metadata format has changed. It used to be split up in several wasm custom sections. It's now in one custom section named
hypermode_meta
, encoded as JSON. This will allow us to add more metadata in the future with minimal impact. This change, however, is incompatible with the current runtime. We'll need a corresponding change there as well.There's also a lot of refactoring, including making the transform a TypeScript project of its own.
Also, we now emit metadata during the build, including a color ascii art logo (which we can update if desired). Example: