Comments on: Foxx Module Resolution Changes in ArangoDB 2.8 https://arangodb.com/2015/11/foxx-module-resolution-will-change-in-2-8/ The database for graph and beyond Wed, 17 Apr 2024 05:54:28 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Alan Plum https://arangodb.com/2015/11/foxx-module-resolution-will-change-in-2-8/#comment-380 Fri, 29 Jan 2016 09:54:00 +0000 http://www.arangodb.com/?p=11497#comment-380 In reply to Paolo Zaccaria Carati.

Hi Paolo, please don’t add the “../” to other imports. “org/arangodb” is a global name, not part of your Foxx code. There’s no need to change it. You only need to change the generated imports of the repositories and models in the controllers.

]]>
By: Paolo Zaccaria Carati https://arangodb.com/2015/11/foxx-module-resolution-will-change-in-2-8/#comment-379 Thu, 28 Jan 2016 14:23:00 +0000 http://www.arangodb.com/?p=11497#comment-379 In reply to Alan Plum.

]]>
By: Alan Plum https://arangodb.com/2015/11/foxx-module-resolution-will-change-in-2-8/#comment-378 Mon, 14 Dec 2015 10:18:00 +0000 http://www.arangodb.com/?p=11497#comment-378 Foxx apps generated by ArangoDB 2.7 have requires like this in the controllers (e.g. /controllers/foo.js): require(‘repositories/foo’); in 2.8 it must look like this: require(‘../repositories/foo’). I’ve added an example to the upgrade notes: https://github.com/arangodb/arangodb/blob/2.8/Documentation/Books/Users/Upgrading/Upgrading28.mdpp

]]>