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

Allow setting a custom adapter #67

Merged
merged 3 commits into from
Jan 9, 2019
Merged

Allow setting a custom adapter #67

merged 3 commits into from
Jan 9, 2019

Conversation

heddendorp
Copy link
Contributor

@heddendorp heddendorp commented Jan 7, 2019

This will need a corresponding update on the contentful.js library but lays the groundwork for setting a custom adapter.
Such as patrickhousley/ngx-axios-adapter to allow the usa of the contenful sdk in an angular universal situation

@codecov
Copy link

codecov bot commented Jan 7, 2019

Codecov Report

Merging #67 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage   69.58%   69.51%   -0.08%     
==========================================
  Files           6        6              
  Lines         924      925       +1     
  Branches      163      163              
==========================================
  Hits          643      643              
- Misses        281      282       +1
Impacted Files Coverage Δ
lib/create-http-client.js 71.42% <100%> (-0.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02d64ef...8baa99a. Read the comment docs.

Copy link
Contributor

@Khaledgarbaya Khaledgarbaya left a comment

Choose a reason for hiding this comment

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

Hi @Isigiel,
This looks like a great addition, can you add some tests for the adapter?

@heddendorp
Copy link
Contributor Author

Alright @Khaledgarbaya I added a test that should verify the new config option

@heddendorp
Copy link
Contributor Author

@Khaledgarbaya Is this ready to merge then? WOuld be nice to get the functionality in soon

@Khaledgarbaya
Copy link
Contributor

@Isigiel I am merging this now, do you want to update the contentful.js PR after this library is released

@Khaledgarbaya Khaledgarbaya merged commit 6c1c071 into contentful:master Jan 9, 2019
@Khaledgarbaya
Copy link
Contributor

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants