Skip to content
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

Class name caching should be case-insensitive #192

Closed
jbilcke opened this issue Jul 25, 2016 · 0 comments
Closed

Class name caching should be case-insensitive #192

jbilcke opened this issue Jul 25, 2016 · 0 comments
Assignees
Labels

Comments

@jbilcke
Copy link

jbilcke commented Jul 25, 2016

Hi,

The OrientDB server considers that class names are case insensitive, but not OrientJS.

It looks like OrientJS stores the first version of the class name it sees as-is (eg. capitalized), which prevents applications expecting the same case-insensitive behavior than OrientDB from querying the data (eg. using a lowercased class name).

The problem seems to be related to these lines:
https://github.com/orientechnologies/orientjs/blob/master/lib/db/class/index.js#L289
https://github.com/orientechnologies/orientjs/blob/master/lib/db/class/index.js#L296
https://github.com/orientechnologies/orientjs/blob/master/lib/db/class/index.js#L327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants