miraja27
10/07/2022, 7:29 PMcreateNewSession
implementation. I am trying to do so, but the new function doesn't seem to get called. Here is a code snippet
ts
SessionNode.init({
override: {
functions: (originalImplementation) => {
return {
...originalImplementation,
createNewSession: async function (input) {
console.log("function is working!"); // <-- this doesn't get logged
return originalImplementation.createNewSession(
input
);
},
};
},
},
}),
Can you tell me if I am doing something wrong? Thanks in advancerp_st
10/08/2022, 4:39 AMrp_st
10/08/2022, 4:39 AMrp_st
10/08/2022, 4:39 AMmiraja27
10/08/2022, 8:20 AMrp_st
10/08/2022, 8:23 AMmiraja27
10/08/2022, 10:41 AMmiraja27
10/08/2022, 10:41 AMrp_st
10/08/2022, 10:41 AMmiraja27
10/08/2022, 10:43 AMrp_st
10/08/2022, 10:48 AMmiraja27
10/08/2022, 10:52 AMrp_st
10/08/2022, 10:53 AMmiraja27
10/08/2022, 10:54 AMrp_st
10/08/2022, 10:55 AMmiraja27
10/09/2022, 12:19 PMmergeIntoAccessTokenPayload
method it extends the session properly. This still doesn't solve my problem though since I need the createNewSession
override to work.rp_st
10/09/2022, 12:21 PMmiraja27
10/09/2022, 1:28 PMrp_st
10/09/2022, 2:01 PMrp_st
10/09/2022, 2:01 PMrp_st
10/09/2022, 2:04 PMrp_st
10/09/2022, 2:05 PMrp_st
10/09/2022, 2:06 PMmiraja27
10/09/2022, 4:51 PMrp_st
10/09/2022, 4:59 PM