-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Add automatic field detection in resources #3390
Comments
This issue has been marked as stale because there was no activity for the past 15 days. |
@Paul-Bob @adrianthedev Do you mind if I take a crack at this one? |
Sure @ObiWanKeoni, thank you! We don't have a lot of research on this but basically we would like to browse and manipulate the database (and all the attribute accessors of an model) without need to configure each field individually. Let me know if you need any help with this |
Hey @Paul-Bob 👋 FYI - I do have a working prototype locally but before I commit a substantial feature change, I'm working to get the necessary internal approvals from my workplace. |
Amazing! We would love to see it |
Feature
Some users would like to get all or some fields automatically from it's model class.
We can check the model attributes and foreign keys similar to how we discover them in the resource generator.
Current workarounds
Declare them manually as
field
s or build your own method.Possible API
Note
Naming is TBD
The text was updated successfully, but these errors were encountered: