mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2025-02-16 19:41:00 +03:00
added a small fix for a typo
This commit is contained in:
parent
231773a58b
commit
3b765e2e15
|
@ -919,7 +919,7 @@ When using services & selectors, all of your APIs should look simple & identical
|
||||||
- **Don't do business logic in your API.**
|
- **Don't do business logic in your API.**
|
||||||
- You can do **object fetching / data manipulation in your APIs** (potentially, you can extract that to somewhere else).
|
- You can do **object fetching / data manipulation in your APIs** (potentially, you can extract that to somewhere else).
|
||||||
- If you are calling `some_service` in your API, you can extract object fetching / data manipulation to `some_service_parse`.
|
- If you are calling `some_service` in your API, you can extract object fetching / data manipulation to `some_service_parse`.
|
||||||
- Basically, keep the APIs are simple as possible. They are an interface towards your core business logic.
|
- Basically, keep the APIs as simple as possible. They are an interface towards your core business logic.
|
||||||
|
|
||||||
When we are talking about APIs, we need a way to deal with data serialization - both incoming & outgoing data.
|
When we are talking about APIs, we need a way to deal with data serialization - both incoming & outgoing data.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user