Configuration
Apply configuration
ts
import axios from 'axios';
import applyDrfMiddleware from '@singularit/drf-axios-middleware';
const api = applyDrfMiddleware(axios.create(), {
// config
});
Configuration options
filterHandlers
- Type:
FilterHandlers
- Default:
undefined
The filterHandlers
option can be used to add custom filter operators.
See Custom Filter Handler for more information.