Skip to content

Commit

Permalink
Add jsonapi-serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
zakariaf committed Dec 26, 2021
1 parent a1564e9 commit c57cb9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ gem 'pagy'
# Map incoming controller parameters to named scopes in the resources
gem 'has_scope'

# A fast JSON:API serializer for Ruby Objects.
gem 'jsonapi-serializer'

group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i( mri mingw x64_mingw )
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ GEM
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jsonapi-serializer (2.2.0)
activesupport (>= 4.2)
loofah (2.13.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
Expand Down Expand Up @@ -285,6 +287,7 @@ DEPENDENCIES
has_scope
importmap-rails
jbuilder
jsonapi-serializer
pagy
pg (~> 1.1)
pry
Expand Down
Empty file added app/serializers/.keep
Empty file.

0 comments on commit c57cb9d

Please sign in to comment.