meteor / meteor/validated-method
I'm using validated-method to created a insert method but it crash to run meteor
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
I'm using validated-method to created an insert method but it crash to run meteor
```
export const hasAtLeastOnePenpal = new ValidatedMethod({
name: 'hasAtLeastOnePenpal',
validate: new SimpleSchema({
id: { type: String }
}).validator(),
run(id) {
return Tandems.collection.find({interlocutors: id}).count() > 0
}
});
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, Meteor version, or error message is named. Start by reproducing the shown ValidatedMethod definition in Meteor and capture the crash details; done means the example runs successfully and the relevant behavior is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100