Maybe You can use assign/3 from Plug.Conn to set the value of my_struct inside the assigns field of the connection.
You can see this thread I'm confused about "assigns" what does it do?
Maybe You can use assign/3 from Plug.Conn to set the value of my_struct inside the assigns field of the connection.
You can see this thread I'm confused about "assigns" what does it do?