Open xdreamcode opened 5 years ago
@xdreamcode can you please provide a bit more detail on what you mean here?
In principle there is no dependency of the loopback
version in use.
Did you mean to have a sample with loopback 4 in the README.MD
?
Thanks in advance and have a great weekend!
Can you outline the steps required to upgrade to lb4?
@elloGuy69 due to its current limitations, I have not been using lb4, so I am not in position to offer much help here.
I recently reviewed lb4 and it is not based on express
anymore, so the basic approach used in this repo to wrap lb3 for lambda is unlikely to work for lb4 as is.
If you want to tinker with it out, I suggest looking into lambda-wrapper.js
to check if a lb4 app would even load (I find it hard to believe it would).
In the end it would take digging through the lb4 source code to figure out how to hock it to an equivalent lambda-wrapper.
Doesn't look like it's on their roadmap anytime soon :( https://github.com/strongloop/loopback-next/issues/1465
@elloGuy69 while I cannot define a roadmap to lb4, I can tell you that #15 includes an example on how to make it work for lb4 ;-)
In case you are still looking for it, I would love to hear any feedback you might have!
Provide a migration guide to lb4