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

dynamic field selection #1039

Open
braindevices opened this issue Oct 10, 2024 · 2 comments
Open

dynamic field selection #1039

braindevices opened this issue Oct 10, 2024 · 2 comments

Comments

@braindevices
Copy link

Problem

Currently you must define your selections ahead of time and cannot dynamically select fields. This is because it is impossible to statically type queries using a dynamic syntax.

So I think it is pretty reasonable to enable the dynamic field selection, once user choose to use it the return value will be just like the raw queries.

@ProgramRipper
Copy link

Maybe Partial Types is what you want.

@braindevices
Copy link
Author

I am aware of partial types. But if I don't get it wrong, it is static selection not dynamic selection. I will need to allow select different field at run time.

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

No branches or pull requests

2 participants