We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I use the application cache suggestion from https://marmelab.com/react-admin/Caching.html#application-cache , the import button do not work
const cacheDataProviderProxy = (dataProvider, duration = 2 * 60 * 1000) => new Proxy(dataProvider, { get: (target, name) => (resource, params) => { if (name === 'getOne' || name === 'getMany' || name === 'getList') { return dataProvider[name](resource, params).then(response => { const validUntil = new Date(); validUntil.setTime(validUntil.getTime() + duration); response.validUntil = validUntil; return response; }); } return dataProvider[name](resource, params); }, }); export default cacheDataProviderProxy(myDataProvider);
With the cache active, the import button do not make an API call, it stops as the image bellow:
If I delete it and use the myDataProvider, it works fine.
Is there a solution?
Thanks!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I use the application cache suggestion from https://marmelab.com/react-admin/Caching.html#application-cache , the import button do not work
With the cache active, the import button do not make an API call, it stops as the image bellow:
If I delete it and use the myDataProvider, it works fine.
Is there a solution?
Thanks!!
The text was updated successfully, but these errors were encountered: