Skip to content

Investigate mongo projections #27

Open
@eric-burel

Description

@eric-burel

Is your feature request related to a problem? Please describe.
Our connectors are not very smart about the field they query
Describe the solution you'd like
Adding an optional "projection" parameter to connector, for find, findOne...

Describe alternatives you've considered
Mongo/Mongoose often takes the projection as the second parameter: selector, then projection, then options (sort, limit).

In Vulcan the order would be slightly different: selector, options, projection. This makes more sense because projection is less used in custom resolvers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions