Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 004bb58

Browse files
feat: "start" and "stop" are now mutation prefixes (#889)
1 parent 234ae9f commit 004bb58

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## UNRELEASED
66

77
- feat: add kubernetes secrets provider and API to read secrets [#885](https://github.com/hypermodeinc/modus/pull/885)
8+
- feat: "start" and "stop" are now mutation prefixes [#889](https://github.com/hypermodeinc/modus/pull/889)
89

910
## 2025-06-10 - Runtime 0.18.0-alpha.6
1011

runtime/graphql/schemagen/conventions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var mutationPrefixes = []string{
2020
"post", "patch", "put", "delete",
2121
"add", "update", "insert", "upsert",
2222
"create", "edit", "save", "remove", "alter", "modify",
23+
"start", "stop",
2324
}
2425

2526
func isMutation(fnName string) bool {

0 commit comments

Comments
 (0)