aronbalog / Vox

Swift JSON:API client framework
http://jsonapi.org
MIT License
46 stars 19 forks source link

Request::execute is throwable but does not throw #15

Open Thiryn opened 6 years ago

Thiryn commented 6 years ago

The Request::execute function is maked as thowing, but it is not throwing anything. In fact the try resource?.documentDictionary() does not throw either, so the try could be removed. Then the throws for Request:result can be removed as well allowing to lighten calls to APIs