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

[SEMVER-MAJOR] Removed unused user properties #2299

Merged
merged 1 commit into from
May 10, 2016

Conversation

davidcheung
Copy link
Contributor

@davidcheung davidcheung commented May 5, 2016

connect to #1854

Removed properties
  • credentials
  • challenges
  • status
  • created
  • lastUpdated

@davidcheung
Copy link
Contributor Author

@slnode test please

Please see [related code change](https://github.com/strongloop/loopback/pull/2174) here.

## Removing unused user properties
Copy link
Member

Choose a reason for hiding this comment

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

We use imperative on L23, pleas do the same for consistency.

## Remove unused user properties

@bajtos bajtos changed the title [3.0] Removed unused user properties [SEMVER-MAJOR] Removed unused user properties May 9, 2016
@bajtos bajtos assigned davidcheung and unassigned bajtos May 9, 2016
@davidcheung davidcheung assigned bajtos and unassigned davidcheung May 9, 2016
@davidcheung
Copy link
Contributor Author

Updated the description
@bajtos PTAL

```js
//user.json
"credentials": {
Copy link
Member

Choose a reason for hiding this comment

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

Please start at the top level of model JSON file to make it more clear where to add this snippet. Also use json for highlighting (you can check the source of my comment to see how to do it in markdown):

{
  "name": "MyUser",
  "base": "User",
  "properties": {
    "credentials": { "type": "object" },
    "challenges": { "type": "object" },
    "status": "string",
    "created": "date",
    "lastUpdated": "date"
  }
} 

@bajtos
Copy link
Member

bajtos commented May 9, 2016

Two more comments, the PR looks good otherwise. No further review is necessary, please squash the commits before landing (and rebase on top of the current master).

@bajtos bajtos assigned davidcheung and unassigned bajtos May 9, 2016
@davidcheung davidcheung force-pushed the removed-unused-user-properties branch 2 times, most recently from 6dc2bd8 to 42c3b38 Compare May 10, 2016 18:27
- credentials
- challenges
- status
- created
- lastUpdated
@davidcheung davidcheung force-pushed the removed-unused-user-properties branch from 42c3b38 to 817e76e Compare May 10, 2016 18:29
@davidcheung davidcheung merged commit a6f8c07 into master May 10, 2016
@davidcheung davidcheung deleted the removed-unused-user-properties branch May 10, 2016 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants