Skip to content

Commit

Permalink
Bundle.entry.resource.id should not be stripped on POST from client #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Jan 19, 2021
1 parent 240decc commit 874b162
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 161 deletions.
Expand Up @@ -991,7 +991,7 @@ protected boolean shouldAddSubsettedTag(EncodeContext theEncodeContext) {

protected boolean shouldEncodeResourceId(IBaseResource theResource, EncodeContext theEncodeContext) {
boolean retVal = true;
if (isOmitResourceId()) {
if (isOmitResourceId() && theEncodeContext.getPath().size() == 1) {
retVal = false;
} else {
if (myDontEncodeElements != null) {
Expand Down

0 comments on commit 874b162

Please sign in to comment.