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

Linq mutator for query syntax #2763

Open
richardwerkman opened this issue Nov 10, 2023 · 0 comments
Open

Linq mutator for query syntax #2763

richardwerkman opened this issue Nov 10, 2023 · 0 comments
Labels
🚀 Feature request New feature or request hacktoberfest https://hacktoberfest.digitalocean.com

Comments

@richardwerkman
Copy link
Member

Is your feature request related to a problem? Please describe.
Linq mutations currently only work for Method Style. But query syntax isn't mutated. Example:

            IEnumerable<int> orderingQuery =
                from num in numbers
                where num < 3 || num > 7
                orderby num ascending
                select num;

Describe the solution you'd like
The linq query syntax is fairly limited so we can't mutate a lot. I think we can only mutate:

Original Mutated
orderby num ascending orderby num descending
orderby num descending orderby num ascending
orderby num orderby num descending

Additional context
The contents of the where in query syntax are already mutated.

@richardwerkman richardwerkman added 🚀 Feature request New feature or request hacktoberfest https://hacktoberfest.digitalocean.com labels Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature or request hacktoberfest https://hacktoberfest.digitalocean.com
Projects
Status: No status
Development

No branches or pull requests

1 participant