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

mirage integration #24

Open
jmmccasland opened this issue Feb 15, 2019 · 0 comments
Open

mirage integration #24

jmmccasland opened this issue Feb 15, 2019 · 0 comments

Comments

@jmmccasland
Copy link

jmmccasland commented Feb 15, 2019

We should build a simple Mirage emulation layer that allows existing Mirage users to easily swap in jsonapi-ts.

For example, inside your mirage config you can define API handlers like this:

this.get('/authors', function(schema, request) {

});

Which could be serviced by a AuthorsProcessor and the callback could be a shorthand for overriding the get method on it.

@joelalejandro joelalejandro moved this to ⌛ Waiting in Kurier Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting
Development

No branches or pull requests

1 participant