Skip to content

Commit

Permalink
Update configuration options doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Zherdev committed Oct 17, 2019
1 parent 7e1c9fc commit 628eff2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/general/configuration_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,18 @@ ActiveModelSerializers.config.serializer_lookup_chain.unshift(

See [lookup_chain.rb](https://github.com/rails-api/active_model_serializers/blob/master/lib/active_model_serializers/lookup_chain.rb) for further explanations and examples.

#### use_sha1_digests

Determines which hashing algorithm to use internally when caching serializers.

Possible values:

- `true`
- `false` (default)

When `true`, ActiveModelSerializers will use SHA1. Otherwise, it will default to using MD5.
Be warned that changing this value may result in serializer caches being invalidated.

## JSON API

##### jsonapi_resource_type
Expand Down

0 comments on commit 628eff2

Please sign in to comment.