Skip to content

Releases: PennState/scim-client

Better error reporting for resource()

31 Mar 18:36
Compare
Choose a tag to compare

When a SCIM-related HTTP call is successful but there's an issue unmarshaling the response's entity body, the resulting error now reports the following information:

  • Err: is the underlying unmarshaling error message
  • Op: is "Marshaling" or "Unmarshaling"
  • Body: is the JSON content that could not be unmarshaled

Improved error handling and messages for resourceOrError()

31 Mar 18:43
Compare
Choose a tag to compare

When protocol, HTTP errors or SCIM errors occur, the messages returned contain a much better description of why the error happened. The primary reason is that if an entity body exists in an HTTP response that returned an error, the code first attempts to unmarshal the body to a scim.ErrorResponse. If that fails, the body contents are still included as are the status code and status description from the response.

MVP: Provides SCIM resource retrieval and searching

17 Jun 15:59
Compare
Choose a tag to compare
Guarantees the AdditionalProperties map is not nil

Resolves #13