-
Type: Task
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Version 5 of mongodb resolved the issue SERVER-20547. Now the MongoDb server is able to return unvalidated fields in a schema. The information comes via the “errInfo” variable, but mongo-go-driver only returns the “errmsg”.
I think “errInfo” can be returned by modifying the ExtractErrorFromServerResponse function. Am I right? Any tips on how best to do this and submit as a pull request?
Thank you.
- backported by
-
SERVER-20547 Expose the reason an operation fails document validation
- Closed
- duplicates
-
GODRIVER-1867 Expose the Reason an Operation Fails Document Validation
- Closed