All project notes

Contribution

Wahidiatul Firni on CandyPixel

Added bulk-edit trace messages and corrected the GraphQL handler’s tenant ID lookup.

In April 2021, Wahidiatul added checkpoints around branches of the bulk-action handler and logged an update error. The same revision corrected the GraphQL handler to read the tenant ID from the singular permission field when passing a bulk edit to the handler. The checkpoints made the execution path easier to trace, and the field correction aligned the handoff with the event shape used in that path.

From the diff

app/graphqlHandler.js at c9cf171

-            if(event.permissions.tenantId){
+            if(event.permission.tenantId){

The conditional and the subsequent handler call both switched to the singular permission field. The trace messages in the same revision make it easier to see how far the update got once it reached the bulk-action handler.

Selected commit log

Archived repository SugarRush/CandyPixel.

  • 2021-04-23 · c9cf171 · add console log for bulk action