I was playing around with Signalman -- specifically to log and visualize queries in development. Unfortunately, noticed that some queries weren't being logged; in my particular case, I first noticed it with UPDATES.
After some fiddling, it appears that "binds" are not being serialized to JSON when the event is being created.
My interim solution was to update the process method in QueryHandler to:
def process
create_event event.payload.except(:binds, :connection)
end
Happy to submit a pull request to make this change (and remove binds from the UI) -- but I honestly wasn't sure if this was just the brute force solution to the problem (rather than the right solution).
I was playing around with Signalman -- specifically to log and visualize queries in development. Unfortunately, noticed that some queries weren't being logged; in my particular case, I first noticed it with UPDATES.
After some fiddling, it appears that "binds" are not being serialized to JSON when the event is being created.
My interim solution was to update the process method in QueryHandler to:
Happy to submit a pull request to make this change (and remove binds from the UI) -- but I honestly wasn't sure if this was just the brute force solution to the problem (rather than the right solution).