Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants