Skip to content
Snippets Groups Projects
Commit 1c09bbe8 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Merge branch 'feature_dimensions' into 'development'

Dimensions middleware

This middleware is used to get the dimensions in the query parameter `dims` as an array of dimensions.

EXAMPLE USAGE:

* Use it with no parameters to get all the dimensions in the query: `app.get('/', dimensions(), function(req, res, next){})`
* Use it with an array of accepted values: `app.get('/', dimensions(['year', 'location']), function(req, res, next){})`
* Use it globally: `app.use(dimensions())`

See merge request !9
parents dceb479c b7269e65
No related branches found
No related tags found
1 merge request!9Dimensions middleware
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment