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

QueryBuilder build into a GridifyQuery #192

Open
Alexr03 opened this issue Aug 4, 2024 · 2 comments
Open

QueryBuilder build into a GridifyQuery #192

Alexr03 opened this issue Aug 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Alexr03
Copy link

Alexr03 commented Aug 4, 2024

Details

I am using Gridify in a Blazor WASM application, right now I am having to build out the GridifyQuery filter & order strings by hand.

I think it would be nice if I could utilize the QueryBuilder which would contain a method that can build the instance of the QueryBuilder into a GridifyQuery using all the conditions etc that I provided to the builder.

@Alexr03 Alexr03 added the enhancement New feature or request label Aug 4, 2024
@alirezanet
Copy link
Owner

Hi @Alexr03,

I don't think QueryBuilder is the best option for constructing the query, as it also manages the Mapper and other configurations. I'm not quite sure what problem you're trying to solve—if you're building the query on the client side, why do you need the GridifyQuery object? You could pass the QueryBuilder object around instead.

It would be great if you could explain a bit more or provide some code examples to clarify what you're trying to achieve.

Gridify has a JS/TS client-side QueryBuilder that helps generate the query. Are you looking for something similar in C#?
https://alirezanet.github.io/Gridify/guide/extensions/gridify-client#usage-example

@Alexr03
Copy link
Author

Alexr03 commented Aug 4, 2024

Ahh yes, my apoligies I think I got myself mixed up with that QueryBuilder for JS/TS.
Yes I am looking for a C# version of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants