-
Notifications
You must be signed in to change notification settings - Fork 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
Simplify multi-pickup or multi-delivery shipments #261
Merged
fab-girard
merged 17 commits into
Mapotempo:dev
from
senhalil:feat/simplify_multi_pickup_or_multi_delivery_shipments
Aug 10, 2021
Merged
Simplify multi-pickup or multi-delivery shipments #261
fab-girard
merged 17 commits into
Mapotempo:dev
from
senhalil:feat/simplify_multi_pickup_or_multi_delivery_shipments
Aug 10, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove dead code Fix y_ids= operators Find raises if id does not exists Add getter for has_many ids Fix id getter of belongs_to Functions keep the id(s) up-to-date Generate only necessary id functions Generate only correct ids functions
senhalil
force-pushed
the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
from
August 4, 2021 09:39
f73e4e2
to
6891323
Compare
senhalil
force-pushed
the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
from
August 4, 2021 12:47
6891323
to
7c429ce
Compare
senhalil
force-pushed
the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
3 times, most recently
from
August 6, 2021 13:01
52499ae
to
3c6c1e8
Compare
fonsecadeline
approved these changes
Aug 6, 2021
senhalil
force-pushed
the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
from
August 6, 2021 15:15
3c6c1e8
to
f580e5f
Compare
TODO: after validation this logic can be moved to base.rb TODO: a "shallow_copy" version can be implemented by "prioritizing" id-methods instead of non-id methods during copy, and by reverting the override logic via options[:key_id]
senhalil
force-pushed
the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
from
August 10, 2021 08:11
f580e5f
to
0755733
Compare
fab-girard
approved these changes
Aug 10, 2021
senhalil
deleted the
feat/simplify_multi_pickup_or_multi_delivery_shipments
branch
August 11, 2021 12:41
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a simplification routine to simplify complex shipments into a multiple simple shipments
Adds a deep_copy helper function that can be moved into base.rb (with some modification after testing)
Logs the simplification operations in a uniform way
Needs Improve base.rb & update active_hash #254 to be merged first
Closes optimizer-api/-/issues/785