Skip to content
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

Replaced [String] dependency url with [Package.Dependency] #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kandelvijaya
Copy link

@kandelvijaya kandelvijaya commented Mar 18, 2017

Problem Statement

The problem with [String] urls was that inside the Package
specification, we were running a map function that was inserting
major version 2 for all the URLS. This is not the best way to deal
although we only have 1 dependency at the moment.

Reason:

What if in some near future we add 1 more dependency?
Will that dependency also take 2 as major version? Likely not.

Solution:

The current approach adds the ability to add fully
satisfied dependency without the explicit knowledge of mapping over.

The problem with [String] urls was that inside the Package
specification, we were running a map function that was inserting
major version 2 for all the URLS. This is not the best way to deal.

Reason: What if in some near future we add 1 more dependency?
Will that dependency also take 2 as major version? Likely not.

Solution: The current approach adds the ability to add fully
satisfied dependency without the explict knowledge of mapping over.
@CLAassistant
Copy link

CLAassistant commented Mar 18, 2017

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants