feat: Add tenant table/logic #50

Merged
piopi merged 6 commits from add-tenant-table into master 2025-01-14 22:29:24 -05:00
Showing only changes of commit 46c2af7435 - Show all commits

View file

@ -19,6 +19,8 @@ builder.queryFields((t) => ({
users: t.prismaField({ users: t.prismaField({
type: [User], type: [User],
resolve: async () => { resolve: async () => {
// TODO: Fix this when we add a tenant context
// eslint-disable-next-line no-restricted-syntax
return await prisma.user.findMany(); return await prisma.user.findMany();
}, },
}), }),