-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
When i do a query such as follows:
Node.find({
include: {
relation: 'device',
scope: {
fields: ['type', 'id'],
include: {
relation: 'locations',
scope: {
fields: ['lng', 'lat'],
include: {
relation: 'map',
scope: {
fields: ['name']
}
}
}
}
}
}
});
When i have the line fields: ['lng', 'lat'], then the relation _map_will not be included, however if i remove the fields: ['lng', 'lat'], then map is included again.
in my relations:
Location belongsTo Map
Map hasMany Location
I think this is a Bug
Metadata
Metadata
Assignees
Labels
No labels