gecko-dev/third_party/python/glean_parser
Jan-Erik Rediger 27ef1fa8ac Bug 1894270 - Schedule pings alongside their parent ping r=chutten,mach-reviewers
This is a bit of a hack to make it all work.
On every `submit` of a ping we call into `schedule_pings` to also
schedule ride-along pings.

Preferably we would like to have that in glean-core, but for builtin
pings that won't work because they are not code-generated and thus will
never see their `schedules_pings` array.
So instead we generate a function in m-c that does the mapping and call
that in the ping wrapper used inside m-c.

Another side effect: `testBeforeNextSubmit` callbacks from
JavaScript/C++ will _not_ be called, because they are only on the JS/C++
object and not reachable from the Rust parts where we actually submit the
ride-along pings.

Differential Revision: https://phabricator.services.mozilla.com/D209671
2024-05-15 09:07:47 +00:00
..
glean_parser Bug 1894270 - Schedule pings alongside their parent ping r=chutten,mach-reviewers 2024-05-15 09:07:47 +00:00
glean_parser-14.1.2.dist-info Bug 1894270 - Schedule pings alongside their parent ping r=chutten,mach-reviewers 2024-05-15 09:07:47 +00:00