-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problem using Query with latest feathersjs and feathers-swift-socketio #25
Comments
+1 |
1 similar comment
+1 |
I ended up writing my own application specific client on top of socketio directly |
Thanks for the update. I’m hoping I can figure out how to fix the problem, but am running in to some knowledge gaps. Would you be willing to share you app specific client code? It may help me better understand where the problem lies, or point me in the right direction for creating my own client if all else fails. All good if you prefer not to, just looking for options 🙂 |
@aarontyler I'm planning big updates for FeathersSwift, Ill be addressing this in that update. |
Was this ever addressed? I'm seeing the same issue. |
I'm using feathers-swift and feathers-swift-socketio to connect a iOS app to a feathersjs + mongoose service.
I have been able to successfully connect my iOS app to the feathers server, and I am also able to receive real-time events fine.
This all works fine:
However - I am running into an issue when attempting to query a service.
This simple query...
causes my server to crash:
I did some debugging server side, and found that in the file feathersjs/transport-commons/lib/routing.js:16 the problem was that, "path" was being passed in as an array rather than a string. This causes stripSlashes() to crash.
I'm not sure why this is happening or how to fix it properly. As a temporary work around I check for an array there, and pull the first element out. This work around prevents the crash, but all the query parameters are discarded.
Please help!
The text was updated successfully, but these errors were encountered: