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

Add Adapter support for Schema (XHR/Local/Session) #12

Merged
merged 1 commit into from
Oct 7, 2017

Conversation

netarc
Copy link
Owner

@netarc netarc commented Oct 7, 2017

This PR adds Adapter support & associated option to Schema objects.

Adapters like XHRAdapter / LocalStorageAdapter / SessionStorageAdapter are now available on the main Refrax import and can be passed via:

new Schema({ adapter: ... })

Note: Session defaults to XHRAdapter by default.

@netarc netarc self-assigned this Oct 7, 2017
@netarc netarc merged commit 5ca4d68 into master Oct 7, 2017
@netarc netarc deleted the internal/adapters branch October 7, 2017 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant