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

Style improvements #2475

Merged
merged 10 commits into from Aug 8, 2016
Merged

Style improvements #2475

merged 10 commits into from Aug 8, 2016

Conversation

flovilmart
Copy link
Contributor

  • Enable HooksRouter by default (as part of the node SDK)
  • Moves problematic middlewares on per route basis
  • Modernizes DatabaseController and middleware imports
  • Moves test api mount to helper

@codecov-io
Copy link

codecov-io commented Aug 6, 2016

Current coverage is 92.47% (diff: 97.80%)

Merging #2475 into master will increase coverage by 0.59%

@@             master      #2475   diff @@
==========================================
  Files            95         93     -2   
  Lines         10706      10602   -104   
  Methods        1312       1309     -3   
  Messages          0          0          
  Branches       1738       1721    -17   
==========================================
- Hits           9837       9804    -33   
+ Misses          869        798    -71   
  Partials          0          0          

Powered by Codecov. Last update fa736f1...d35507e

@ghost
Copy link

ghost commented Aug 6, 2016

@flovilmart updated the pull request.

@ghost
Copy link

ghost commented Aug 6, 2016

@flovilmart updated the pull request.

return { response: {} };
});
return Promise.resolve().then(() => {
this.adapter.appOpened(req.body, req);
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing return?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup

@facebook-github-bot
Copy link

@flovilmart updated the pull request.

@@ -17,4 +16,4 @@ _ParseServer.createLiveQueryServer = ParseServer.createLiveQueryServer;
let GCSAdapter = useExternal('GCSAdapter', 'parse-server-gcs-adapter');

export default ParseServer;
export { S3Adapter, GCSAdapter, FileSystemAdapter, InMemoryCacheAdapter, TestUtils, logger, _ParseServer as ParseServer };
export { S3Adapter, GCSAdapter, FileSystemAdapter, InMemoryCacheAdapter, logger, _ParseServer as ParseServer };
Copy link
Contributor

Choose a reason for hiding this comment

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

@drew-gross
Copy link
Contributor

Looks awesome, just need to either keep TestUtils exported, or change the JS SDK. Feel free to merge after that.

@flovilmart
Copy link
Contributor Author

I believe it's good now, let me know if the TestUtils change is good :)

@facebook-github-bot
Copy link

@flovilmart updated the pull request.

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

5 participants