# Use read-only access methods for read-only entity operations \(\#31254\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f435304209e0534540a83e74db3a976da5c8cfe8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f435304209e0534540a83e74db3a976da5c8cfe8

Requested commit: f435304209e0534540a83e74db3a976da5c8cfe8

Commit: f435304209e0534540a83e74db3a976da5c8cfe8

Tree: 71cefcc690f5d2da5dcfeaf847aa87aaa998f573

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Use read-only access methods for read-only entity operations (#31254)

This PR replaces some `update()` calls with either `read()` or
`read_with()` when the `update()` call performed read-only operations on
the entity.

Many more likely exist, will follow-up with more PRs.

Release Notes:

- N/A
```

## Parents

- [508ccde3638d2bd64cb41988b2a8e1bed34b79a4](https://git.cafe/gitcafe/zed/commit/508ccde3638d2bd64cb41988b2a8e1bed34b79a4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f435304209e0534540a83e74db3a976da5c8cfe8?format=markdown)
