Get_bootinfo doesn't returns the app added boot info

I am adding some params to bootinfo from my apps hook but when I fetch the same at some other places in code it’s not available.
Looking at the code my suspicion is that it’s not getting set on the bootinfo object which is returned. Though on the client side the variable is available on frappe.boot but not on the frapp.boot.get_bootinfo

	for method in hooks.boot_session or []:
	    frappe.get_attr(method)(bootinfo)

The above code in frappe boot.py seems to be getting the bootinfo attribute but doesn’t seems to be setting on the global object . Can someone confirm the same ?

hook should be boot_session and not extend_bootinfo as stated in docs here Hooks