added support to identify entity ids automatically
fix #35
Update buchu package version, so now it uses the new id custom field to automatically identify the entities ids in the repository. It solves the issue #35
Proposed Changes
Created the private method getEntityIds in the Repository class. It automatically identify the ids of an entity and uses them if the user don't provide the ids option.
Created the unit tests for the constructor of Repository. It ensures the fields are filled the right way.
Updated the unit and integration tests to use the id custom field and the new feature, that allow omitting the ids in the repository constructor options
Readiness Checklist
Author/Contributor
[x] If documentation is needed for this change, has that been included in this pull request
[x] Remember to check if code coverage decrease, if so, please implement the necessary tests
Reviewing Maintainer
[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance
added support to identify entity ids automatically
fix #35
Update buchu package version, so now it uses the new
id
custom field to automatically identify the entities ids in the repository. It solves the issue #35Proposed Changes
getEntityIds
in theRepository
class. It automatically identify the ids of an entity and uses them if the user don't provide theids
option.Repository
. It ensures the fields are filled the right way.id
custom field and the new feature, that allow omitting theids
in the repository constructor optionsReadiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance