Skip to content

Conversation

@rtablada
Copy link
Contributor

@rtablada rtablada commented Aug 7, 2018

This allows error source to contain any object instead of string strings. This allows for deeper source details as needed for validations and other in-depth error messages:

Ex.

new Error(
  status: 422,
  title = "already exists",
  description = "this email already exists",
  source = new { pointer = "data/attributes/email" });

FEATURE

  • write tests that address the requirements outlined in the issue
  • fulfill the feature requirements
  • bump package version

@jaredcnance jaredcnance merged commit a050acd into json-api-dotnet:master Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants