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

updated new version of tesla #94

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

MosesMuiru
Copy link

@MosesMuiru MosesMuiru commented Mar 1, 2024

What is the Purpose?

Briefly describe what the PR addresses

due to compatibility issues i upgraded the version of tesla and jason

also changed to new conventions
use Config to import config

here is a sample error i faced that led to all this
`


Because "the lock" specifies tesla 1.8.0 and every version of at_ex depends on tesla ~> 1.2.1, the lock is incompatible wi
at_ex.
And because your app depends on the lock, no version of at_ex is allowed.
So, because your app depends on at_ex ~> 0.20.22, version solving failed.
** (Mix) Hex dependency resolution failed


I dont know if it was the right approach but it worked

`
@sigu
@zacck-zz
@kamalogudah
@johninvictus

@spec get_data :: {:ok, map()} | {:error, term()}
def get_data do
username = Application.get_env(:at_ex, :username)
# changed Application.get_env to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the comment

mix.exs Outdated
Comment on lines 37 to 38
#{:tesla, "~> 1.4.3"},
#{:jason, "~> 1.1"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comments

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