Describe the bug
The code for getSession, on server side, is calling the API
This a bad idea for a lot of reasons:
Expected behavior
getSession on server side should take request, response and options, and handle the job without any HTTP request.
Hi there! Do you maybe have a suggestion for improvement? If so, we welcome PRs 馃槉
I bet you do :) Unfortunately I have 0 revenus as long as my personal projet does not land (https://game-park.com/), so for now I cannot afford to spend a couple of weeks on another project... but I hope I can do it later on.
Some thoughts though:
getSession that can be use on both side, we need a way to use runtime imports in the framework (using require('...') on another file). Without runtime imports, the client starts on depending on libraries only available on server side (like 'fs').Also, if the Typescript migration pull request could be integrated, it would be great ;)
Please keep in mind that we are an open source organization, working on this project in our free time as well. We solely rely on the community to help us out where they can.
I am going to take up this topic the next time I chat with @iaincollins to figure out what we can do here. Thanks for the feedback, it's really helpful!
Regarding TypeScript, again we welcome eager community members to help out pushing stuff they need faster. 馃槉
Most helpful comment
Please keep in mind that we are an open source organization, working on this project in our free time as well. We solely rely on the community to help us out where they can.
I am going to take up this topic the next time I chat with @iaincollins to figure out what we can do here. Thanks for the feedback, it's really helpful!
Regarding TypeScript, again we welcome eager community members to help out pushing stuff they need faster. 馃槉