Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve find to get more fields from lookups #69

Open
marcusdemoura opened this issue Aug 25, 2023 · 0 comments
Open

improve find to get more fields from lookups #69

marcusdemoura opened this issue Aug 25, 2023 · 0 comments

Comments

@marcusdemoura
Copy link
Contributor

When querying the scope of lookups is very limited
could be possible to list the field inside plan and konecty makes the lookup:

fields: ['code', 'plan.permissions', 'plan.expiration']

{
  _id: 'sample-1',
  plan: {
     _id: 'sample-2-plan',
     code: 123,
     name: 'Sample plan'
     permissions: ['permission-1', 'permission-2'],
     expiration: date
  }
}

at least the SDK could abstract the secondary queries.

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

No branches or pull requests

1 participant