Open jkcorrea opened 3 years ago
Adds an option to use your own fetch function:
fetch
import { Model, SpraypaintBase } from 'spraypaint' import ky from 'ky' const apiClient = ky.extend({}) @Model() class ApplicationRecord extends SpraypaintBase { static fetcher = apiClient }
Adds an option to use your own
fetch
function: