Skip to content
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

[JS] Expand Result to support Kotlin/JS #99

Merged
merged 16 commits into from
Aug 18, 2021

Conversation

kittinunf
Copy link
Owner

@kittinunf kittinunf commented Aug 13, 2021

What's in this PR?

This PR enables Result to support Kotlin/JS 🎉 🎉 🎉

@kittinunf kittinunf self-assigned this Aug 13, 2021
@iNoles
Copy link
Collaborator

iNoles commented Aug 13, 2021

Module not found: Error: Can't resolve 'fs' in '/Users/runner/work/Result/Result/build/js/packages/Result-result-test/kotlin'

Module not found: Error: Can't resolve 'path' in '/Users/runner/work/Result/Result/build/js/packages/Result-result-test/kotlin'

these are nodejs modules. do we need to change browser to nodejs?

@iNoles
Copy link
Collaborator

iNoles commented Aug 15, 2021

Error: ENOENT: no such file or directory, open './src/commonTest/resources/lorem_short.txt'
Error: ENOENT: no such file or directory, open './src/commonTest/resources/lorem_short.txt'

@kittinunf
Copy link
Owner Author

Hmm, I have no idea why this doesn't work 😢 ....

@iNoles
Copy link
Collaborator

iNoles commented Aug 15, 2021

Hmm, I have no idea why this doesn't work 😢 ....

I found a way to fix it

const val resource = "../../../../result/src/commonTest/resources"

@kittinunf kittinunf force-pushed the kv/support-js-to-make-result-being-more-usable branch 2 times, most recently from 38041fb to 00f3b7b Compare August 16, 2021 16:02
@iNoles iNoles self-requested a review August 17, 2021 01:11
Copy link
Collaborator

@iNoles iNoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is very good starts for now.

@kittinunf kittinunf force-pushed the kv/support-js-to-make-result-being-more-usable branch from 00f3b7b to 9456529 Compare August 17, 2021 12:40
@kittinunf kittinunf requested a review from iNoles August 17, 2021 12:50
Copy link
Collaborator

@iNoles iNoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very awesome

@kittinunf kittinunf merged commit 6151142 into master Aug 18, 2021
@kittinunf kittinunf deleted the kv/support-js-to-make-result-being-more-usable branch August 18, 2021 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants