-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support wasm
target
#178
Support wasm
target
#178
Conversation
|
Ok verified that it works 👍 |
- FIX OptimumCode#177 - adjust module hierarchy to not split wasm from other source sets as some dependency currently does not offer wasm support
480942f
to
a555cbb
Compare
Missed the binary compatibility *.api file update (pushed the update) Also noteworthy. the I can change it back to an object, however, making an object Making the function within the object |
Would it make sense to archive the artifacts for the checks: https://github.com/OptimumCode/json-schema-validator/actions/runs/10248584925/job/28350188962?pr=178#step:8:438 ? Right now I believe they are not archived as a result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR @mikepenz. Please, take a look at the comments. If you have any questions or concerns - just let me know
...ator/src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/hostname/Normalizer.kt
Outdated
Show resolved
Hide resolved
...c/wasmJsMain/kotlin/io/github/optimumcode/json/schema/internal/hostname/Normalizer.wasmJs.kt
Outdated
Show resolved
Hide resolved
There should be comments from the review-dog that point out the problems but they were not published (probably because the token used by the utility does not have enough permissions when PR is created from the fork...). |
Don't have any objections to that) |
I used |
- add experimental annotation for wasm targets - add also browser() to wasm target - update *.api file
Outstanding items I'll look into:
|
Do you commit changes using IDE or using a cmd? Because, maybe (just a theory), the IDE does some changes before the commit and they results into the error you see |
Thank you very much for your help here @mikepenz. |
Oh wow, thank you so much for the amazing additions and improvements to the PR. Shall we add any README changes here to note experimental wasm support or something similar? |
Thank you for reminding me about that. Yes, we should add wasmJs to the list of supported targets in README. I don't think we should mention that it is experimental - we solved the problem with normalization and now the wasm implementation is complete.
Sure, let's do this. The only thing left in this PR is to update the README then |
Looks good to me. Thank you @mikepenz. I will merge this PR if you have no objections to that |
No objections from my perspective |
wasm
targetwasm
target #177Note
Thewasm
target currently does not handle normalisation forIDN-hostname format