Skip to content

Commit

Permalink
Add fixes for AddPersonFace
Browse files Browse the repository at this point in the history
  • Loading branch information
msyache committed Nov 18, 2022
1 parent 2a97680 commit 53fdef2
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 14 deletions.
4 changes: 3 additions & 1 deletion sdk/cognitiveservices/Vision.Face/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@

### Breaking Changes
- Id fields in responses for Person and Face objects from Person Directory are no longer nullable as they are guaranteed to be returned.
- The non-functional AddPersonFaceAsync method has been removed from Person Directory.

### Bugs Fixed
- Fix mismatching data types between request and response for personId and persistedFaceId in Person Directory. New extension methods expecting GUIDs have been added alongside the existing string ones.
- Fix mismatching data types between request and response for personId and persistedFaceId in Person Directory. New extension methods expecting GUIDs have been added alongside the existing string ones
- Fix the missing parameter "url" in Person Directory AddPersonFaceAsync, which is now renamed to AddPersonFaceFromUrlAsync for clarity.

### Other Changes
- Change default value for returnFaceId parameter to false in detection operations.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 23 additions & 4 deletions sdk/cognitiveservices/Vision.Face/src/Generated/PersonDirectory.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53fdef2

Please sign in to comment.