{"action":"created","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/1087","repository_url":"https://api.github.com/repos/OData/WebApi","labels_url":"https://api.github.com/repos/OData/WebApi/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/1087/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/1087/events","html_url":"https://github.com/OData/WebApi/issues/1087","id":260511025,"number":1087,"title":"net core $Expand->$filter Parsing is not supported","user":{"login":"cqkisyouq","id":31977338,"avatar_url":"https://avatars0.githubusercontent.com/u/31977338?v=4","gravatar_id":"","url":"https://api.github.com/users/cqkisyouq","html_url":"https://github.com/cqkisyouq","followers_url":"https://api.github.com/users/cqkisyouq/followers","following_url":"https://api.github.com/users/cqkisyouq/following{/other_user}","gists_url":"https://api.github.com/users/cqkisyouq/gists{/gist_id}","starred_url":"https://api.github.com/users/cqkisyouq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cqkisyouq/subscriptions","organizations_url":"https://api.github.com/users/cqkisyouq/orgs","repos_url":"https://api.github.com/users/cqkisyouq/repos","events_url":"https://api.github.com/users/cqkisyouq/events{/privacy}","received_events_url":"https://api.github.com/users/cqkisyouq/received_events","type":"User","site_admin":false},"labels":[{"id":614080787,"url":"https://api.github.com/repos/OData/WebApi/labels/P4","name":"P4","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"robward-ms","id":24462145,"avatar_url":"https://avatars2.githubusercontent.com/u/24462145?v=4","gravatar_id":"","url":"https://api.github.com/users/robward-ms","html_url":"https://github.com/robward-ms","followers_url":"https://api.github.com/users/robward-ms/followers","following_url":"https://api.github.com/users/robward-ms/following{/other_user}","gists_url":"https://api.github.com/users/robward-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/robward-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robward-ms/subscriptions","organizations_url":"https://api.github.com/users/robward-ms/orgs","repos_url":"https://api.github.com/users/robward-ms/repos","events_url":"https://api.github.com/users/robward-ms/events{/privacy}","received_events_url":"https://api.github.com/users/robward-ms/received_events","type":"User","site_admin":false},"assignees":[{"login":"robward-ms","id":24462145,"avatar_url":"https://avatars2.githubusercontent.com/u/24462145?v=4","gravatar_id":"","url":"https://api.github.com/users/robward-ms","html_url":"https://github.com/robward-ms","followers_url":"https://api.github.com/users/robward-ms/followers","following_url":"https://api.github.com/users/robward-ms/following{/other_user}","gists_url":"https://api.github.com/users/robward-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/robward-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robward-ms/subscriptions","organizations_url":"https://api.github.com/users/robward-ms/orgs","repos_url":"https://api.github.com/users/robward-ms/repos","events_url":"https://api.github.com/users/robward-ms/events{/privacy}","received_events_url":"https://api.github.com/users/robward-ms/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-09-26T06:54:11Z","updated_at":"2017-10-02T23:29:56Z","closed_at":null,"author_association":"NONE","body":"   Expression filterSource =\r\n                    typeof(IEnumerable).IsAssignableFrom(source.Type.GetProperty(propertyName).PropertyType)\r\n                        ? Expression.Call(\r\n                            ExpressionHelperMethods.QueryableAsQueryable.MakeGenericMethod(clrElementType),\r\n                            nullablePropertyValue)\r\n                        : nullablePropertyValue;\r\n\r\n                Expression filterPredicate = FilterBinder.Bind(filterClause, clrElementType, _context.RequestContainer);\r\n                MethodCallExpression filterResult = Expression.Call(\r\n                    ExpressionHelperMethods.QueryableWhereGeneric.MakeGenericMethod(clrElementType),\r\n                    filterSource,\r\n                    filterPredicate);\r\n\r\n$Expand Does not support this   \".AsQuery.Where(xx) \"  ef parse error\r\n            var result = _userService.Get(query => query).Select(x=> new UserOutput{\r\n                Account=x.Account,\r\n                Alias=x.Alias,\r\n                Id=x.Id,\r\n                Email=x.Email,\r\n                Name=x.Name,\r\n                Mobile=x.Mobile,\r\n                DisplayOrder=x.DisplayOrder,\r\n                Description=x.Description,\r\n                Enabled=x.Enabled,\r\n                UpdatedOnUtc=x.UpdatedOnUtc,\r\n                CreatedOnUtc=x.CreatedOnUtc,\r\n                Roles=x.Roles.Where(r=>r.Enabled&&r.Deleted==false&&r.Role.Enabled&&r.Role.Deleted==false)\r\n                            .Select(d=>new RoleOutput() {\r\n                                Id=d.Role.Id,\r\n                                ApplicationId=d.Role.ApplicationId,\r\n                                Enabled=d.Role.Enabled,\r\n                                DisplayOrder=d.Role.DisplayOrder,\r\n                                Description=d.Role.Description,\r\n                                CreatedOnUtc=d.Role.CreatedOnUtc,\r\n                                UpdatedOnUtc=d.Role.UpdatedOnUtc\r\n                            }).ToList()\r\n            });"},"comment":{"url":"https://api.github.com/repos/OData/WebApi/issues/comments/333694230","html_url":"https://github.com/OData/WebApi/issues/1087#issuecomment-333694230","issue_url":"https://api.github.com/repos/OData/WebApi/issues/1087","id":333694230,"user":{"login":"robward-ms","id":24462145,"avatar_url":"https://avatars2.githubusercontent.com/u/24462145?v=4","gravatar_id":"","url":"https://api.github.com/users/robward-ms","html_url":"https://github.com/robward-ms","followers_url":"https://api.github.com/users/robward-ms/followers","following_url":"https://api.github.com/users/robward-ms/following{/other_user}","gists_url":"https://api.github.com/users/robward-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/robward-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robward-ms/subscriptions","organizations_url":"https://api.github.com/users/robward-ms/orgs","repos_url":"https://api.github.com/users/robward-ms/repos","events_url":"https://api.github.com/users/robward-ms/events{/privacy}","received_events_url":"https://api.github.com/users/robward-ms/received_events","type":"User","site_admin":false},"created_at":"2017-10-02T23:29:56Z","updated_at":"2017-10-02T23:29:56Z","author_association":"CONTRIBUTOR","body":"@cqkisyouq  - Looks like you are using the code in the maintenance-aspnetcore branch, correct? There are a few features not implemented in this branch.  It's likely this feature will not be implemented in this branch.\r\n\r\nThe feature/netcore branch (https://github.com/OData/WebApi/tree/feature/netcore) is being used to build a netcore version of OData WebApi will feature parity to the existing OData WebApi product. You can follow this work in #975."}}
{"actor":{"display_login":"robward-ms"}}