Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there plans to support Loopback 4? #628

Open
4 tasks
ShlomoRosenheimer opened this issue Nov 2, 2018 · 7 comments
Open
4 tasks

Are there plans to support Loopback 4? #628

ShlomoRosenheimer opened this issue Nov 2, 2018 · 7 comments

Comments

@ShlomoRosenheimer
Copy link

What type of issue are you creating?

  • Bug
  • Enhancement
  • [ x] Question

What version of this module are you using?

  • [x ] 2.0.10 (Stable)
  • 2.1.0-rc.n (2.1 Release Candidate n)
  • Other

Write other if any:

Please add a description for your issue:

Are there any plans to support Loopback 4?

@dmastag
Copy link
Contributor

dmastag commented Nov 3, 2018

Does not seem so, but on the bright side Loopback 4 is supposed to support OpenAPI so you could generate the sdk using OpenAPI Tools

@jgwinner
Copy link

Does that mean loopback-sdk-builder is sunsetted? Seems like a shame.

(might take a while, Loopback4 looks good but still has some work to do, to be production; specifically authentication and authorization on the roadmap, as near as I can tell.)

== John ==

@isrmicha
Copy link

it would be a dream, i hope loopback creates a build in sdk builder

@jgwinner
Copy link

It's really essential. However, as Mean-expert-official seems to be somewhat sunsetted itself, not sure if anyone here will.

I had some massive problems getting the original SDK to work; it never generated any of the loopback models for get/set, just patch and other weird verbs. Maybe that's what it's supposed to do? Very few samples for connecting with Angular or any client side. So I massively edited the SDK builder to do something simple. Probably messed it up, but it's working for us. The code isn't pretty though.

I wouldn't mind creating a supported version of it, at some point, but we won't have time for another month or two.

    == John ==

@joschne
Copy link

joschne commented Oct 31, 2019

Thank you @dmastag for that wonderful hint!

I managed to set up something very simple based on OpenApiTools since it now supports typescript angular.

I created a sample project to illustrate my idea. Read the Readme for more details.

I think this could do the same job for loopback 4 as @mean-expert-official/loopback-sdk-builder did for loopback 3.

What do you think?

@joschne
Copy link

joschne commented Nov 1, 2019

Another example based on looback 4 todo-list

@jbratu
Copy link

jbratu commented Jun 15, 2021

Look at Loopback 4 documentation Building an Angular Application from OpenAPI Specification which shows how to generate an OpenAPI spec JSON file and then generate models for the Angular application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants