Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsQueryable trimmed happy path doesn't work with AOT #101903

Open
MichalStrehovsky opened this issue May 6, 2024 · 1 comment
Open

AsQueryable trimmed happy path doesn't work with AOT #101903

MichalStrehovsky opened this issue May 6, 2024 · 1 comment

Comments

@MichalStrehovsky
Copy link
Member

AsQueryable is marked as trimming unsafe and AOT unsafe. However, we still did some work to make it partially work with trimming. Specifically, AsQueryable followed by Queryable.OrderByDescending, Queryable.Skip, etc. will work thanks to DynamicDependency we placed on OrderByDescending & co.

This DynamicDependency is however not sufficient to make AOT work.

Context: #101417 (comment)

There's a test disabled on this issue. Look for the issue number in the repo.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-linq
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant