meteor / meteor/simple-todos-angular
Step 8.7: Helper currentUser does not return Mongo.Cursor
- Dominant language
- JavaScript
- Stars
- 49
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
According to documentation[1], Angular helpers must always return Mongo.Cursor. However step 8.7 [2] defines a currentUser helper which does not return Mongo.Cursor:
```
currentUser() {
return Meteor.user();
}
```
[1] http://www.angular-meteor.com/api/1.3.11/helpers
[2] https://www.meteor.com/tutorials/angular/adding-user-accounts
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare Step 8.7 in the Meteor tutorial with the linked angular-meteor helper documentation, focusing on the currentUser example and its return value. Determine the intended correction, then update the tutorial material so the example and documentation agree; done means the reported inconsistency is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100