Skip to content

[SEMVER-MAJOR] Removed unused user properties - #2299

Merged
davidcheung merged 1 commit into
masterfrom
removed-unused-user-properties
May 10, 2016
Merged

[SEMVER-MAJOR] Removed unused user properties#2299
davidcheung merged 1 commit into
masterfrom
removed-unused-user-properties

Conversation

@davidcheung

@davidcheungdavidcheung commented May 5, 2016

Copy link
Copy Markdown
Contributor

connect to #1854

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

@davidcheung

Copy link
Copy Markdown
ContributorAuthor

@slnode test please

Comment thread3.0-RELEASE-NOTES.md Outdated
Please see [related code change](https://github.com/strongloop/loopback/pull/2174) here. No newline at end of file
Please see [related code change](https://github.com/strongloop/loopback/pull/2174) here.

## Removing unused user properties

Copy link
Copy Markdown
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

@bajtosbajtos changed the title [3.0] Removed unused user properties[SEMVER-MAJOR] Removed unused user propertiesMay 9, 2016
@bajtosbajtos assigned davidcheung and unassigned bajtosMay 9, 2016
@davidcheungdavidcheung assigned bajtos and unassigned davidcheungMay 9, 2016
@davidcheung

Copy link
Copy Markdown
ContributorAuthor

Updated the description
@bajtos PTAL

Comment thread3.0-RELEASE-NOTES.md Outdated
Developers that are relying on these properties, can redefine them in `user.json` or equivalent model.json as follow:
```js
//user.json
"credentials": {

Copy link
Copy Markdown
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
Copy Markdown
Member

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).

@bajtosbajtos assigned davidcheung and unassigned bajtosMay 9, 2016
@davidcheung
davidcheungforce-pushed the removed-unused-user-properties branch 2 times, most recently from 6dc2bd8 to 42c3b38CompareMay 10, 2016 18:27
- credentials
- challenges
- status
- created
- lastUpdated
@davidcheung
davidcheungforce-pushed the removed-unused-user-properties branch from 42c3b38 to 817e76eCompareMay 10, 2016 18:29
@davidcheung
davidcheung merged commit a6f8c07 into masterMay 10, 2016
@davidcheung
davidcheung deleted the removed-unused-user-properties branch May 10, 2016 18:32
Sign up for freeto 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

@davidcheung@bajtos