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

fix: export decorators for backward compatibility #850

Merged
merged 1 commit into from Jan 11, 2018
Merged

Conversation

jannyHou
Copy link
Contributor

@jannyHou jannyHou commented Jan 10, 2018

@jannyHou jannyHou changed the title fix: export decorators for backward compatibility [test wip]fix: export decorators for backward compatibility Jan 10, 2018
@jannyHou jannyHou changed the title [test wip]fix: export decorators for backward compatibility fix: export decorators for backward compatibility Jan 10, 2018

describe('backward-compatibility', () => {
it('exports functions from @loopback/openapi-v2', async () => {
try {
Copy link
Contributor

Choose a reason for hiding this comment

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

No try-catch is needed. The test passes if it complies.

describe('backward-compatibility', () => {
it('exports functions from @loopback/openapi-v2', async () => {
try {
class Test {
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to add /* tslint:disable-next-line:no-unused-variable */ to fix the style issue:

Copy link
Contributor

@raymondfeng raymondfeng left a comment

Choose a reason for hiding this comment

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

Please address my comments to pass CI.

@jannyHou jannyHou force-pushed the export-v2 branch 2 times, most recently from 5b2bedd to 1d718bf Compare January 10, 2018 19:29
@jannyHou
Copy link
Contributor Author

@slnode test please

@jannyHou
Copy link
Contributor Author

@raymondfeng thank you for reviewing, feedbacks applied but after rebasing, module duplexer3 fails due to a weird reason...weird prints...https://cis-jenkins.swg-devops.com/job/nb/job/loopback-next~master/label=x64%20&&%20linux%20&&%20nvm,nodeVersion=6/2317/console

Triggered a new build.

@jannyHou
Copy link
Contributor Author

@slnode test please

Copy link
Contributor

@raymondfeng raymondfeng left a comment

Choose a reason for hiding this comment

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

Please rebase to latest master before merging.

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

Successfully merging this pull request may close these issues.

None yet

2 participants