-
Notifications
You must be signed in to change notification settings - Fork 502
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
unable to work with client in wasm (won't compile beacuse of github.com/lib/pq ) #3566
Comments
I tried to do the same thing a few days ago – use the Stellar Go SDK with wasm – and ran into the same issue. It looks like the change required in I think #3152 is the most relevant thing we can do independent of Ultimately, this would be one significant advantage of implementing multiple modules inside this repository that would scope dependencies like |
Keep in mind https://github.com/lib/pq#status
|
This was merged i don't have a chance to test it: lib/pq#1036 (comment) |
The change that got merged looks like it would address this problem. You'd just need to choose that version of lib/pq in your applications go.mod file. I think #3152 is still worth doing though. The fact that lib/pq is imported into the xdr package is far from ideal. |
I'm closing this issue because I tested the example code in the issue description and it compiles successfully with the latest version of lib/pq.
Note that the version of lib/pq in stellar/go is v1.2.0, but that doesn't stop an application importing stellar/go from specifying a newer version. Stellar/go specifies only the minimum version it needs. |
What version are you using?
What did you do?
For more information see: lib/pq#987
What did you expect to see?
What did you see instead?
I want to use the client and transaction building from a wasm application, i guess it has nothing to do with postgresql.
The text was updated successfully, but these errors were encountered: