Skip to content

Cannot query OldXX after executing a mutation - #2324

Merged
adelowo merged 1 commit into
mainfrom
feat-ISS-2087
Apr 23, 2026
Merged

Cannot query OldXX after executing a mutation#2324
adelowo merged 1 commit into
mainfrom
feat-ISS-2087

cannot query OldDisplayName after a mutation is executed

ad53736
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 23, 2026 in 2m 22s

Annotations

Check failure on line 394 in internal/ent/hooks/user.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=theopenlane_core&issues=AZ26yFOMbQC8gvkSgUMz&open=AZ26yFOMbQC8gvkSgUMz&pullRequest=2324