Skip to content

Commit

Permalink
fix: avoid check for duplicate fields, enable manual indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Oct 12, 2023
1 parent 732a64b commit fa9b46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/orientdb-server-config-3.2.xml
Expand Up @@ -140,6 +140,7 @@
<entry name="profiler.enabled" value="false"/>
<!-- <entry name="profiler.config" value="30,10,10" /> -->
<entry name="network.binary.allowNoToken" value="true"/>
<entry name="index.allowManualIndexes" value="true"/>
<entry name="security.createDefaultUsers" value="true"/>
</properties>
</orient-server>
3 changes: 3 additions & 0 deletions lib/transport/rest/protocol/json_parse.js
Expand Up @@ -276,9 +276,12 @@ module.exports = (function () {
key = string();
white();
next(':');
/*
TODO: double check why with new API get duplicate @fieldTypes
if (Object.hasOwnProperty.call(object, key)) {
error('Duplicate key "' + key + '"');
}
*/
object[key] = value(options);
white();
if (ch === '}') {
Expand Down

0 comments on commit fa9b46a

Please sign in to comment.