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

Does the sdk supports Loopback Version 3 #313

Closed
2 of 5 tasks
ymcnicoll opened this issue Jan 11, 2017 · 1 comment
Closed
2 of 5 tasks

Does the sdk supports Loopback Version 3 #313

ymcnicoll opened this issue Jan 11, 2017 · 1 comment

Comments

@ymcnicoll
Copy link

What type of issue are you creating?

  • Bug
  • Enhancement
  • [X ] Question

What version of this module are you using?

  • 2.0.10 (Stable)
  • 2.1.0-rc.8 (2.1 Release Candidate n)
  • Other

Hi, just upgraded Loopback to version 3 and tried to generate SDK. The generation does occur but methods get generate with option twice in the input parameters like in the following.

public createManyMsgFolders(id: any, options: any = {}, data: any[] = [], options: any = {}): Observable {
let _method: string = "POST";
let _url: string = LoopBackConfig.getPath() + "/" + LoopBackConfig.getApiVersion() +
"/Accounts/:id/MsgFolders";
let _routeParams: any = {
id: id
};
let _postBody: any = {
data: data
};
let _urlParams: any = {};
let result = this.request(_method, _url, _routeParams, _urlParams, _postBody);
return result;
}

@ymcnicoll
Copy link
Author

Sorry just realized this is a duplicate of #310

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

1 participant