Hello, any best practices for versioning resources...
# prisma-whats-new
p
Hello, any best practices for versioning resources in GraphQL? For example: Let's say I want to maintain all versions of a user profile and have only one valid and active...
a
@picosam You can't interfere with the query (yet) to always return the latest version, so what you can do is create a RP hook on update, that inserts the current record into a history table before applying the update.
👍 1