-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error encoding json in release mode with standard fastest, smallest optimizations #211
Comments
The same problem. All our production release stopped 😡. How to reproduce the bug (our case). |
@EthanSK , Could you give advice? Which optimization levels should set to fix it? I tried different, but nothing help. 🥺🙏 |
This whole project has been deprecated. Someone should sue mongo. My entire app is now worthless, and has to be rewritten from the ground up... |
Hi Ethan – While we're not adding new features/addressing all bugs in the Stitch SDKs they will continue to work for the next 12 months. Issues like this (which related to issues with the underlying Swift SDK + newer xCode versions) are now resolved by moving to the Realm SDKs. There are some changes in syntax with the new Realm SDKs, but overall they are relatively minor and syntax for interacting with MongoDB/calling functions remains essentially the same so there shouldn't be a need to re-write your application. |
Only when the standard default optimizations for speed and size are on, mongo stitch throws an error with the json encoding. (error code 1). Stitch is horribly ridden with bugs and was one of the worst decisions I ever made to use in my app. But it's too late now. I can't be bothered at this point to provide any more detail so don't ask. This is enough.
Stitch is not a production ready tool. It's an experiment at best.
Error is: could not encode document as extended JSON string
The text was updated successfully, but these errors were encountered: