-
-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
DESCRIPTION
Consider the following resource types:
public sealed class Manufacturer : Identifiable<long>
{
[HasMany]
public ISet<Vehicle> Vehicles { get; set; } = new HashSet<Vehicle>();
}
public abstract class Vehicle : Identifiable<long>;
public sealed class Bike : Vehicle
{
[HasMany]
public ISet<BicycleLight> Lights { get; set; } = new HashSet<BicycleLight>();
}
public sealed class BicycleLight : Identifiable<long>;When the following request is executed:
GET /manufacturers/1?include=vehicles.lightsAll lights related to the bike are returned, despite the default pagination size of 10.
EXPECTED BEHAVIOR
Pagination is applied to relationships on derived types.
ACTUAL BEHAVIOR
Pagination is not applied.
VERSIONS USED
- JsonApiDotNetCore version: 5.6.0
- ASP.NET Core version: 8.0
- Entity Framework Core version: 8.0
- Database provider: N/A
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working