Skip to content

Not work filter in Expand, not work Filter by Key #3467

@nurbat

Description

@nurbat

v9.0.0 preview 3

https://example.ru/MAIN/api/data/v9.1/People?$filter=Id eq 01bcbb80-13f1-4126-b0f4-0341f8e40a61&$expand=Friends($select=FirstName)&$select=UserName,FirstName

	var query = ctx.People
			.Where(e => e.Id == Guid.NewGuid())
			.Select(c =>
			new
			{
				c.UserName,
				c.FirstName,
				Products = c.Friends.Where(e => e.Fullname = "sos").Select(p => new
				{
					p.FirstName
				})
			}).ToString();

wait it
https://example.ru/MAIN/api/data/v9.1/People(Id=01bcbb80-13f1-4126-b0f4-0341f8e40a61)?$expand=Friends($select=FirstName;$filter=Fullname eq 'sos')&$select=UserName,FirstName

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions