Commit f8b27591 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'pcalder-update-docs-service-class-prefer-execute' into 'master'

Adding preference for execute over call in Service classes

See merge request gitlab-org/gitlab!28989
parents 18726d57 6a009f12
...@@ -127,6 +127,8 @@ Everything in `lib/api`. ...@@ -127,6 +127,8 @@ Everything in `lib/api`.
Everything that resides in `app/services`. Everything that resides in `app/services`.
In Service classes the use of `execute` and `#execute` is preferred over `call` and `#call`.
#### ServiceResponse #### ServiceResponse
Service classes usually have an `execute` method, which can return a Service classes usually have an `execute` method, which can return a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment