Hi! I’m using Prisma with NestJS and GraphQL Federation 🎉
Everything is working perfectly when it comes to resolving external fields from GraphQL query.
The issue I’m facing is when from a Federated Service I’m storing a new entity on the DB, that entity does not return external resolved fields.
Assuming I have User and Post with 1-to-Many and I’m storing a new Post with authorId.
A GraphQL query will return author with all computed fields but with an hypothetical ‘this.prisma.post.create(…)’ will not.
It’s a complex issue I know, but maybe some of you already faced it. If you need more information I will provide them 🙏🏻