Skip to content

Commit

Permalink
Merge branch 'feature-DATAAPI-34_rendering-empty-non-simple-values' i…
Browse files Browse the repository at this point in the history
…nto release-3.6.0
  • Loading branch information
DominicWatson committed Oct 30, 2024
2 parents 3ca32ff + 740d735 commit 9810266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.5.14

* Ability to set API level defaults for allowIdInsert and allowed verbs

## v3.5.13

* [#86](https://github.com/pixl8/preside-ext-data-api/issues/86) Fix issue with id field appearing as required for POST requests
Expand Down
2 changes: 1 addition & 1 deletion services/DataApiService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ component {
if ( $getContentRendererService().rendererExists( renderer, "dataapi" ) ) {
try {
var renderedContent = $renderContent( renderer, arguments.value, "dataapi", arguments.fieldSettings );
if ( Len( renderedContent ?: "" ) ) {
if ( !IsSimpleValue( renderedContent ) || Len( renderedContent ?: "" ) ) {
return renderedContent;
}
} catch( any e ) {
Expand Down

0 comments on commit 9810266

Please sign in to comment.