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

feat(adapter-prisma): support fetching user relations #1543

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kldzj
Copy link

@kldzj kldzj commented Apr 21, 2024

This change would allow the user to include additional relations in the user object when querying.

The type for the includable relations is a bit suboptimal, as intellisense will show some keys that cannot be included, but only with type of undefined. See below:

image image

This can probably be fixed, but I first wanted to look for some feedback, e.g. if a change like this would be considered in general, before spending more time on it.

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

Successfully merging this pull request may close these issues.

None yet

1 participant