-
Notifications
You must be signed in to change notification settings - Fork 14
INT-203 arrays #22
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
INT-203 arrays #22
Conversation
|
Review status: 0 of 16 files reviewed at latest revision, 9 unresolved discussions, some commit checks pending. lib/field-collection.js, line 11 [r1] (raw file): lib/field-collection.js, line 31 [r1] (raw file): lib/field-collection.js, line 41 [r1] (raw file): lib/field.js, line 132 [r1] (raw file): lib/field.js, line 197 [r1] (raw file): The probabilities are already taken care of, they are now derived properties basically just this.count / this.parent.count (with some edge cases for undefined and arrays). unique and sorted types are still missing. lib/schema.js, line 8 [r1] (raw file): lib/schema.js, line 25 [r1] (raw file): lib/type-collection.js, line 37 [r1] (raw file): lib/type.js, line 232 [r1] (raw file): Only caveat is that when a field is created for the first time, we need retrospectively bump up the undefined count. That's taken care of in ./field-collection.js. Comments from the review on Reviewable.io |
|
Review status: 0 of 16 files reviewed at latest revision, 9 unresolved discussions, some commit checks pending. lib/field.js, line 132 [r1] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 16 of 16 files at r1. lib/field-collection.js, line 11 [r1] (raw file): Confused lib/field-collection.js, line 31 [r1] (raw file): lib/field-collection.js, line 41 [r1] (raw file): lib/field.js, line 10 [r1] (raw file): lib/field.js, line 132 [r1] (raw file): lib/field.js, line 197 [r1] (raw file): lib/schema.js, line 8 [r1] (raw file): lib/schema.js, line 25 [r1] (raw file): lib/type-collection.js, line 37 [r1] (raw file): lib/type.js, line 31 [r1] (raw file): lib/type.js, line 47 [r1] (raw file): lib/type.js, line 67 [r1] (raw file): /**
* @see http://mongodb.github.io/node-mongodb-native/2.0/api/MaxKey.html
*/lib/type.js, line 75 [r1] (raw file): /**
* @see http://mongodb.github.io/node-mongodb-native/2.0/api/MinKey.html
*/lib/type.js, line 123 [r1] (raw file): lib/type.js, line 232 [r1] (raw file): lib/type.js, line 244 [r1] (raw file): lib/type.js, line 246 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 6 unresolved discussions, some commit checks failed. lib/field-collection.js, line 11 [r1] (raw file): lib/field-collection.js, line 41 [r1] (raw file):
I'll add comments to the code in both files to make it clear. lib/field.js, line 197 [r1] (raw file): +enhancement +@rueckstiess remove lib/schema.js, line 25 [r1] (raw file): lib/type-collection.js, line 37 [r1] (raw file): +bug +@rueckstiess don't use circular imports. lib/type.js, line 246 [r1] (raw file): +enhancement +@rueckstiess break types into individual files under Comments from the review on Reviewable.io |
this is to avoid runtime requires, that browserify would not be able to handle.
… into INT-203-arrays # Conflicts: # lib/field-collection.js # lib/field.js # lib/schema.js # lib/type-collection.js # lib/type.js # lib/value-collection.js # lib/value.js # test/array-object-types.test.js # test/field-collection.test.js # test/schema.test.js # test/type.test.js # test/value-collection.test.js
|
Reviewed 25 of 25 files at r2. lib/field.js, line 37 [r1] (raw file): lib/field.js, line 91 [r2] (raw file): lib/field.js, line 103 [r2] (raw file): lib/index.js, line 18 [r2] (raw file): lib/type-collection.js, line 32 [r2] (raw file): test/events.test.js, line 19 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 2 of 25 files at r2. lib/field.js, line 88 [r2] (raw file): lib/field.js, line 91 [r2] (raw file): lib/index.js, line 3 [r2] (raw file): lib/index.js, line 18 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 23 of 25 files at r2. lib/type-collection.js, line 32 [r2] (raw file): test/events.test.js, line 19 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 15 of 15 files at r3. Comments from the review on Reviewable.io |
change:types.length has to be triggered AFTER the new value was parsed.
… into INT-203-arrays
|
Reviewed 2 of 10 files at r4. Comments from the review on Reviewable.io |
WIP, just making pull request to discuss some details. Don't merge yet!