Is there any way to have the user field populated ...
# prisma-whats-new
j
Is there any way to have the user field populated on a create<Item> mutation automatically using the current session user or do I need to provide the user id in the mutation every time?
j
Ok. So once that gets implemented you could then write a function to pull it out of the context and add it to the mutation?
a
Yes, and there's also a FR somewhere for adding createdBy/updatedBy to createdAt/updatedAt, and have them filled automagically