This repository was archived by the owner on Jan 4, 2023. It is now read-only.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
Networking Overview #9
Closed
Description
This was discussed in an artsy hangout, but I wanted to get it into something actionable, Our NetworkingAPI should:
- Make it easy to run offline
- Make it possible to run network requests synchronously
- Treat stubs as a first class citizen
- Allow tests to state only networking request X is allowed during this test run
- Allow iterating through all potential API requests at runtime for API sanity checks
- Keep track of current requests and don't support dupes
Think this is best done by having the request generation & the networking API client separate. A lot like how we have it in existing apps. Not assigning someone, but they should get ticked off as it happens, definitely better to do it earlier.