Open mobreza opened 2 weeks ago
I encountered a problem with when syncing data with a BrAPI 2.1 compatible server. The app is sending the obsolete externalReferences.referenceID and expects to find id when looking up the response against the local database.
externalReferences.referenceID
referenceID is deprecated by https://github.com/plantbreeding/BrAPI/issues/460 and referenceId should be used instead.
referenceID
referenceId
This change sets externalReferences.referenceId in addition to the now obsolete referenceID (to maintain backward compatibility).
externalReferences.referenceId
CHANGE
FEATURE
BUGFIX
ENHANCEMENT
NONE
BrAPI: Improve 2.1 compatibility
Description
I encountered a problem with when syncing data with a BrAPI 2.1 compatible server. The app is sending the obsolete
externalReferences.referenceID
and expects to find id when looking up the response against the local database.referenceID
is deprecated by https://github.com/plantbreeding/BrAPI/issues/460 andreferenceId
should be used instead.Type of change
This change sets
externalReferences.referenceId
in addition to the now obsoletereferenceID
(to maintain backward compatibility).CHANGE
(fix or feature that would cause existing functionality to not work as expected)FEATURE
(non-breaking change which adds functionality)BUGFIX
(non-breaking change which fixes an issue)ENHANCEMENT
(non-breaking change which improves existing functionality)NONE
(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Checklist:
Changelog entry