Repository navigation
fix: reject unresolved POST and PUT references - #876
Merged
TommyLemon merged 1 commit into
APIJSON:master from
henriquejsza:fix/275-unresolved-write-references
Sep 1, 2026
Merged
Conversation
Copy link
Copy Markdown
Contributor
Summary
- reject unresolved string references in effective
POST/PUT objects with UnsupportedOperationException
- keep existing
GET, DELETE, and resolved-reference behavior
- add DB-free regression coverage, including
CRUD → @post dispatch
This prevents an out-of-order write reference from silently skipping the write while the parser returns success.
Validation
mvn -Dtest=AbstractObjectParserReferenceTest test -- 8 passed
mvn clean verify -- 36 passed
The core APIJSONORM path was tested; the APIJSON-Demo /register endpoint was not retested.
Fixes #275
fix: reject unresolved POST and PUT references
ef5c519
Fail fast when a string reference cannot be resolved for an effective POST or PUT object. This prevents write requests from silently invalidating or skipping the object and returning a successful response.
Add DB-free regression coverage for table and non-table references, CRUD method directives, preserved GET and DELETE behavior, and resolved references.
closes APIJSON#275
TommyLemon
approved these changes
Sep 1, 2026
View reviewed changes
TommyLemon
merged commit
541751b
into
APIJSON : master
Sep 1, 2026
1 check passed
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
None yet
2 participants