Fetchival is already handling almost everything I need by default. Handling the headers, status codes, JSONing, etc is great!
Would you consider setting {credentials: include'} by default?
I understand that I can now use the wrapper as follows const users = fetchival('/users', {credentials: 'include'});, but it would be very convenient if I didn't have to set this with each instantiation.
Great library BTW! I look forward to using it more!
Fetchival is already handling almost everything I need by default. Handling the headers, status codes, JSONing, etc is great! Would you consider setting
{credentials: include'}
by default? I understand that I can now use the wrapper as followsconst users = fetchival('/users', {credentials: 'include'});
, but it would be very convenient if I didn't have to set this with each instantiation.Great library BTW! I look forward to using it more!