Skip to content

Enhancements to connector resolution, model relations and inclusions#86

Merged
raymondfeng merged 4 commits into
masterfrom
feature/enhance-relations
Mar 20, 2014
Merged

Enhancements to connector resolution, model relations and inclusions#86
raymondfeng merged 4 commits into
masterfrom
feature/enhance-relations

Conversation

@raymondfeng

Copy link
Copy Markdown
Contributor

/to @ritch

The PR contains the following enhancements:

  1. Make sure short names for known connectors are correctly resolved
  2. Add remoting metadata for the belongsTo relation method
  3. Simplify the inclusion processing and make it consistent with the relation methods

@slnode

slnode commented Mar 17, 2014

Copy link
Copy Markdown

All is well
Refer to this link for build results: http://ci.strongloop.com/job/loopback-datasource-juggler/356/

Comment thread lib/relations.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason for var relationMethod instead of function relationMethod()?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not particularly. I find it a bit simpler for debugging.

@ritch

ritch commented Mar 20, 2014

Copy link
Copy Markdown
Contributor

A lot going on here. I couldn't spot anything, but that could be because there is a lot changing.

LGTM

raymondfeng added a commit that referenced this pull request Mar 20, 2014
Enhancements to connector resolution, model relations and inclusions
@raymondfeng
raymondfeng merged commit b848bfb into master Mar 20, 2014
@raymondfeng
raymondfeng deleted the feature/enhance-relations branch March 20, 2014 00:12
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.

3 participants