Open marcusdemoura opened 10 months ago
When querying the scope of lookups is very limited could be possible to list the field inside plan and konecty makes the lookup:
plan
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.
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']
at least the SDK could abstract the secondary queries.