Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[feature request] customize foreign key properties (*_id) #150

Open
orenelbaum opened this issue Dec 12, 2022 · 0 comments
Open

[feature request] customize foreign key properties (*_id) #150

orenelbaum opened this issue Dec 12, 2022 · 0 comments

Comments

@orenelbaum
Copy link

There's already this issue #25 for customizing the id field.
I want to be able to customize the *_id fields as well.

Is your feature request related to a problem? Please describe.
The problem is I can't get the schema I want, I want to have a Post type with author_id that points to a User type, but this is only one example, it's a common use case.

Describe the solution you'd like
Being able to customize the *_id field and somehow provide metadata about which type the field points to.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants