-
Notifications
You must be signed in to change notification settings - Fork 833
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
Docs for some Foxx controller features #1040
Comments
It turns out that the doc for |
The doc for |
Great :) |
well, about doc for |
It's rather simple, really:
So you could use .around(function (req, res, opts, next) {
var start = Date.now();
next();
var end = Date.now();
var delta = end - start;
console.log('Request took', delta, 'milliseconds to complete.');
}) |
@pluma the current doc says (req, res, opts, next) is it correct? |
@myguidingstar Yes, sorry, I fixed the example. |
then what does |
@fceller I think you know the router internals better than me? |
The typo is fixed, now only @fceller needs to answer the question |
An other doc issue here. In module "console" it says:
But what does "collapsed" mean here anyway? |
I found other 2 (summary and notes): |
summary and notes are internal 😄 |
@moonglum is it? The docs mention the auto-magical summary comments, though. See https://docs.arangodb.com/Foxx/Develop/Controller.html |
I see this in Changlog for 2.2.3
but can't find the doc for that anywhere
Also, I can't find doc for the
next
argument which is used in https://github.com/triAGENS/ArangoDB/blob/master/js/server/modules/org/arangodb/foxx/format_middleware.js#L39The text was updated successfully, but these errors were encountered: