dynamiccast/sails-json-api-blueprints

Cannot override sails-json-api blueprints in Controller

dynamiccast opened this issue · 0 comments

It is not possible to override blueprints injected with sails-json-api-blueprints.
Because injected code is being forcefully assigned here : https://github.com/dynamiccast/sails-json-api-blueprints/blob/master/lib/hook.js#L106

We need to check if we are trying to override default blueprints or custom controller endpoints.