Skip to content

Commit

Permalink
Merge branch 'hotfix-3.5.13' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Oct 22, 2024
2 parents eb8986a + e0e58dc commit 2dbdd13
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.13

* [#86](https://github.com/pixl8/preside-ext-data-api/issues/86) Fix issue with id field appearing as required for POST requests

## v3.5.12

* Ability to have deleted record detail in queue data
Expand Down
2 changes: 1 addition & 1 deletion services/DataApiSpecService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ component {
private struct function _getEntitySchema( required string entityName, boolean forSelect=true, boolean forceIdField=false ) {
var schema = { required=[], properties=StructNew( "linked" ) };
var confService = _getConfigService();
var fields = arguments.forSelect ? confService.getSelectFields( arguments.entityName ) : confService.getUpsertFields( arguments.entityName );
var fields = Duplicate( arguments.forSelect ? confService.getSelectFields( arguments.entityName ) : confService.getUpsertFields( arguments.entityName ) );
var fieldSettings = confService.getFieldSettings( arguments.entityName );
var objectName = confService.getEntityObject( arguments.entityName );
var props = $getPresideObjectService().getObjectProperties( objectName );
Expand Down

0 comments on commit 2dbdd13

Please sign in to comment.