Skip to content

Clarify getTableBinding error message to cover the query path - #461

Merged
em3s merged 1 commit into
mainfrom
fix/table-binding-error-message
Jul 24, 2026
Merged

em3s merged 1 commit into
mainfrom
fix/table-binding-error-message

Conversation

@em3s

@em3s em3s commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

V2BackedEngine.getTableBinding serves both the query and the mutation path, but its UnsupportedOperationException said the label is not indexed or not supported for edge mutation. When the error fires on a GET request the message points the diagnosis at the wrong path. Reword it to name the V3 table binding and state that both query and edge mutation are affected.

Changes

  • Reword the getTableBinding error message in V2BackedEngine to cover both the query and the mutation path

How to Test

./gradlew :engine:test --tests "com.kakao.actionbase.v2.engine.v3.*"

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Code (Fable 5)

… path

V2BackedEngine.getTableBinding serves both the query and the mutation path,
but its error message said "not supported for edge mutation". When the error
fired on a GET request it pointed the diagnosis at the wrong path. Reword it
to name the V3 table binding and both paths.

Co-Authored-By: Claude Fable 5 <[email protected]>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. maintenance Maintenance work. labels Jul 24, 2026
@em3s

em3s commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Merge

@em3s
em3s merged commit bf7f96d into main Jul 24, 2026
3 checks passed
@em3s
em3s deleted the fix/table-binding-error-message branch July 24, 2026 05:00
em3s added a commit that referenced this pull request Jul 24, 2026
@em3s em3s mentioned this pull request Jul 24, 2026
1 task done
em3s added a commit that referenced this pull request Jul 24, 2026
* Back datastore HASH labels with an IndexedLabel on the V3 path (#459)

(cherry picked from commit edb93be)

* Clarify getTableBinding error message to cover the query path (#461)

(cherry picked from commit bf7f96d)
@em3s em3s self-assigned this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant