Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use jsonapi better at top level, add error response #36

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

fawzi
Copy link
Contributor

@fawzi fawzi commented Jun 14, 2019

Top level should still be better documented, but I wanted to have this in to avoid conflicts

@fawzi fawzi requested review from ltalirz, dwinston and tpurcell90 June 14, 2019 05:34
source: ErrorSource=Schema(..., description="an object containing references to the source of the error")
meta: dict=Schema(..., description="a meta object containing non-standard meta-information about the error.")
class ErrorMsg(Error):
links: ErrorLinks
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for me to understand: ErrorSource was not the correct name?
And why were all the fields and descriptions of ErrorMsg deleted?

@ltalirz ltalirz self-requested a review June 14, 2019 08:15
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @fawzi

@ltalirz ltalirz merged commit 184a0d3 into master Jun 14, 2019
@CasperWA CasperWA deleted the better_error_jsonapi branch November 8, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants