Skip to content

FIELDENG-681 adding api for running raw queries #523

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

Merged
merged 3 commits into from
Apr 9, 2025

Conversation

slorello89
Copy link
Member

@slorello89 slorello89 commented Apr 4, 2025

We've had many instances where folks have asked for Redis Queries that are difficult (or impossible) to express in the LINQ language, this PR adds support for writing raw filters in the Redis Query Language, while still supporting the Object Mapping / other LINQ bits of Redis OM.

@slorello89 slorello89 requested a review from Copilot April 4, 2025 20:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • examples/Redis.OM.RawQueryExample/Redis.OM.RawQueryExample.csproj: Language not supported
Comments suppressed due to low confidence (2)

test/Redis.OM.Unit.Tests/RediSearchTests/RawQueryTests.cs:1

  • [nitpick] The file contains a large block of commented-out test code which could be confusing. Consider removing or re-enabling these tests to ensure clarity and proper test coverage.
using System;

src/Redis.OM/SearchExtensions.cs:30

  • [nitpick] The use of an overloaded method name 'Raw' in the GetMethodInfo call might lead to ambiguity when resolving the correct method overload. Consider specifying the method type explicitly to avoid potential issues.
GetMethodInfo(Raw, source, rawQuery)

@slorello89 slorello89 changed the title adding api for running raw queries FIELDENG-681 adding api for running raw queries Apr 8, 2025
@slorello89 slorello89 merged commit f7d8778 into main Apr 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant