-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update base survey objects for serialized data #374
Update base survey objects for serialized data #374
Conversation
ee53971
to
ded394a
Compare
d7282cc
to
1c92cfa
Compare
@@ -0,0 +1,14 @@ | |||
// can return invalid dates: use isNaN on date.getTime() to check if it's valid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing copyright header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add unit tests for this file, it's a util after all!
|
||
// Validate baseVehicles (if provided) | ||
if ( | ||
dirtyParams.baseVehicles !== undefined && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are those validations now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they were never used, this was base object composition, which should not happen. We will composed only custom objects in survey itself.
1c92cfa
to
9390a0c
Compare
@@ -0,0 +1,14 @@ | |||
// can return invalid dates: use isNaN on date.getTime() to check if it's valid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add unit tests for this file, it's a util after all!
44d8505
to
dcb91c3
Compare
dcb91c3
to
9d874cb
Compare
No description provided.