Use the format_response hook for API requests
With endpoint_run, we were missing some Redis / DB calls that are triggered during the serialization of data. This happens very frequently because ActiveRecord relations are loaded lazily and these are most likely going to be triggered during serialization.
Showing
Please register or sign in to comment