-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/consoleRelated to consoleRelated to consolec/serverRelated to serverRelated to servere/intermediatecan be wrapped up in a weekcan be wrapped up in a weekk/enhancementNew feature or improve an existing featureNew feature or improve an existing featurep/highcandidate for being included in the upcoming sprintcandidate for being included in the upcoming sprint
Milestone
Description
From discussion on Discord:
If you want to automatically set a column to a session variable (such as the current X-Hasura-User-Id), you can do this on INSERT with the column presets functionality below
https://docs.hasura.io/1.0/graphql/manual/schema/default-values/column-presets.html
Is there a specific reason, why the same functionality is not supported on UPDATE? If not, could this feature be added?
My use case: User A creates record 1. User B later updates record 1. Ideally, there is a column who tracks who created and who last edited the record.
sabuydee and 0x777sabuydee
Metadata
Metadata
Assignees
Labels
c/consoleRelated to consoleRelated to consolec/serverRelated to serverRelated to servere/intermediatecan be wrapped up in a weekcan be wrapped up in a weekk/enhancementNew feature or improve an existing featureNew feature or improve an existing featurep/highcandidate for being included in the upcoming sprintcandidate for being included in the upcoming sprint