-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
JavaScript driver - RqlCompileError with r.row and indexCreate #1555
Comments
This is the problem we discussed at length in #915. To fix this we're probably going to have to change the way we do optargs in the javascript driver. |
This is also almost certainly an issue in the ruby driver. |
@neumino was helping me and thats we came across it i was on 1.10 ubuntu. also it worked when i did it in an anonymous funcction |
Actually ruby users are pretty unlikely to hit this because they don't have |
@coffeemug -- who's in charge of the JS driver these days? |
@mlucy no one is officially. We should figure out what we can do to get around this problem. I think we're going to need to make a pretty big change to how we do optargs. |
I think I'm the one in charge of the JS driver. About this bug, I don't think it's related to how we do optargs. I have a fix that seems to work. I'll add some tests on Monday before pushing it. |
Assigning to myself too since I have a fix coming. |
There is no one person officially responsible for the Javascript driver, but most fixes have been done by @neumino and @AtnNn, so Javascript bugs should be redirected to them.
Just a friendly reminder, please observe the standard code review process for the JS driver. |
Yep, by "pushing it" I meant opening a code review first. |
As far as I know, these queries are also broken r.table("foo").getAll( [1,2,3] ).run( connection, callback) // Throws when it should work
r.table("foo").orderBy( [1,2,3] ).run( ..) // Doesn't throw the good error |
In code review 993 assigned to @AtnNn |
Review 993 |
Throws
On rethinkdb 1.10.0 (GCC 4.8.1) -- on Arch
The text was updated successfully, but these errors were encountered: