FR - Transformers for User Action Resource

Currently to format/transform the output of a User Action resource query you have to create a Javascript Resource as a wrapper:

const new_ret = userActionResource.data
// modify new_ret here
return new_ret;

While not a big deal, you do now have to remember:

  • changes are made in the wrapper and not in the query where it normally would be.
  • use the wrapper results, not the query results. these are now in 2 locations instead of 1
1 Like

Hi @bobthebear ,

Thanks for this feedback! I agree it would be nice to be able to transform the results directly, like you can for other resource queries. I've created a ticket to track this internally.

1 Like