Skip to content

Check if include-schema argument provided and pass option to generator #34

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

Closed
wants to merge 1 commit into from

Conversation

akera-io
Copy link

That goes together with the other pull request strongloop/loopback-sdk-angular#194 done on loopback-sdk-angular about adding the option to include model definition (properties) into the generated resources, the client need to be able to use the option.

@slnode
Copy link

slnode commented Nov 25, 2015

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

console.error('Generating %j for the API endpoint %j', ngModuleName, apiUrl);
var result = generator.services(app, ngModuleName, apiUrl);
console.error('Generating %j for the API endpoint %j', ngModuleName, apiUrl, includeSchemas);
var result = generator.services(app, ngModuleName, apiUrl, includeSchemas);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akera-io Could you please rework this line to use the new options-based API introduced in strongloop/loopback-sdk-angular#223?

@bajtos
Copy link
Member

bajtos commented Jun 2, 2016

@akera-io sorry for the delay. Could you please address my comment above and add a unit-test to verify the new option?

@slnode
Copy link

slnode commented Jun 2, 2016

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

@bajtos bajtos removed the blocked label Jun 2, 2016
@bajtos
Copy link
Member

bajtos commented Jun 2, 2016

@slnode ok to test

@bajtos
Copy link
Member

bajtos commented Sep 6, 2016

I am closing this pull request as abandoned. @akera-io feel free to reopen whenever you have time to address my comments above:

and also rebase the patch on top of the current master.

@bajtos
Copy link
Member

bajtos commented Oct 6, 2016

Landed via #55.

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

Successfully merging this pull request may close these issues.

4 participants