Skip to content

[WIP] Add basic support for ActiveModel::Errors. #5

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

Closed
wants to merge 2 commits into from
Closed

Conversation

beauby
Copy link
Member

@beauby beauby commented Nov 20, 2016

No description provided.

JSONAPI::Serializable::ErrorRenderer.render(errors, options)
end

def self.build_active_model_errors(errors)

Choose a reason for hiding this comment

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

Method has too many lines. [11/10]

end
end

module InstanceMethods

Choose a reason for hiding this comment

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

Missing top-level module documentation comment.

module JSONAPI
module Rails
module ActiveModel
module Errors

Choose a reason for hiding this comment

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

Missing top-level module documentation comment.

@@ -0,0 +1,25 @@
module JSONAPI

Choose a reason for hiding this comment

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

Missing frozen string literal comment.

@beauby beauby force-pushed the errors branch 2 times, most recently from 816201c to 9ef0567 Compare November 20, 2016 04:53
@app.call(env)
end

def deserialize!(request, body)

Choose a reason for hiding this comment

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

Method has too many lines. [11/10]

end
end

module InstanceMethods

Choose a reason for hiding this comment

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

Missing top-level module documentation comment.

@beauby beauby force-pushed the errors branch 3 times, most recently from 4c702c6 to 4f003a4 Compare November 20, 2016 05:10
@beauby beauby added this to the 0.2 milestone Nov 21, 2016
@nathanpsouza
Copy link

hi @beauby, will this be available on release?

@beauby
Copy link
Member Author

beauby commented Feb 27, 2017

Hi @nathanpsouza – yes it is planned. There's a bit of work left but I have it on my radar.

@beauby
Copy link
Member Author

beauby commented May 18, 2017

Closing in favor of #22.

@beauby beauby closed this May 18, 2017
@beauby beauby deleted the errors branch May 18, 2017 20:39
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