Skip to content

Conversation

@sleistner
Copy link

This branch adds support to configure validation middleware at route specification level.

exports.create = {

    jiveLocked: true,
    path: 'levels',
    verb: 'post',

    validate: function (req, res, next) {
        [...]
    },

    route: function (req, res) {
        [...]
    }
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant