-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fix query select and exclude #88
Conversation
Codecov Report
@@ Coverage Diff @@
## main #88 +/- ##
==========================================
+ Coverage 78.73% 78.75% +0.02%
==========================================
Files 63 63
Lines 5041 5042 +1
==========================================
+ Hits 3969 3971 +2
+ Misses 1072 1071 -1
Continue to review full report at Codecov.
|
@dplewis there's a problem here that you may know how to solve quicker than me debugging code on the server-side that I'm unfamiliar with. Query My guess at the problem has something to do with the use of All other queries (first, hint, explain, etc.) I've tested work using
Note that, using when using |
False alarm, I still don’t know where the issue is at |
Thanks for looking into this @cbaker6 Is there any documentation on how requests should be constructed for the server? Otherwise, I could take a look at one of the other SDKs. |
No documentation that I know of besides how to use it in JS SDK, which which is I tried to create the current implementation from. I couldn't find this in the REST documentation. The JS SDK has it. The iOS SDK has |
@pmmlo the last commit I made works by using a join of the array and turning it into a string before it goes to the server, implying that the Parse server doesn't like they way The test failures are due them still looking for arrays instead of a joined array string. If you want something that works, you can use that commit until I figure out what the actual issue is |
@dplewis @mtrezza so I believe my false alarm mentioned earlier was actually a real one and the problem is server side. In short, the I'll submit the PR now so you the changes. I'm still running one more additional test locally to verify somethings |
Done with my local tests with this framework and the server changes and they work. It looks like the tests pass on the server side and on this client SDK. Of course, if there's a test on the JS SDK that used |
@TomWFox can you review the doc comments I added? There was a missing instance method for |
@pmmlo If you use docker and need a working server with this now, you can use my image, Otherwise, you will have to see what comes of the discussion and PR on the server repo |
Thanks for all the contribs @cbaker6 I am still playing around with Parse to see if it would be good for personal use. Really solid work! |
@pmmlo thanks for discovering the bug! Definitely let us know if you find anything else. I did find documentation on Also, it looks like you may be testing/adding code in |
Co-authored-by: Tom Fox <13188249+TomWFox@users.noreply.github.com>
Fix #86 select and exclude parse-community/parse-server#7242
exclude
select
andexclude
example in playgroundendpoint
is used for queriesselect
,exclude
, and fetch include