dchester / epilogue

Create flexible REST endpoints and controllers from Sequelize models in your Express app
846 stars 116 forks source link

Controller List is not applying attributes of Model Scope as specified in req.query.scope #219

Closed micksatana closed 6 years ago

micksatana commented 6 years ago

When specify req.query.scope as ['someScope'] it will not filter attributes correctly.

I try remove context.options.attributes or set as null. It will load resource.attributes as options.attributes and ignore the Model Scope attributes.

micksatana commented 6 years ago

Close for now. Seem not being maintained