You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looked into this, but I found it hard to find an elegant way to solve it in other ways than just writing a common catch function. In my opinion, the requests differ too much to make it worth it. The API lacks consistent response types and has built-in functions for create, getAll etc, instead of relying upon standard OpenAPI paths. It makes it hard to bring out the essence of the functions without adding extra checks. IMO, a common catch function would be a hasty abstraction (see AHA-programming), but I'll let the issue stay up for grabs if anyone wants to fix it from the backend. ✌️
Originally posted by @ingeridhellen in #195 (comment)
The text was updated successfully, but these errors were encountered: