-
- Downloads
Merge branch '59208-add-option-to-keep-cached-fields-during-serialization' into 'master'
Add option to whitelist _html fields from attributes on CacheMarkdownField See merge request gitlab-org/gitlab-ce!26374 (cherry picked from commit f7fcfc77) 3fd8e612 Add option to not exclude _html fields from attributes bcc988a6 Does not exclude message_html from attributes 69dc893d Fix spec for Gitlab::JsonCache 6264694d Rename the hidden option to whitelisted
Showing
- app/models/broadcast_message.rb 1 addition, 1 deletionapp/models/broadcast_message.rb
- app/models/concerns/cache_markdown_field.rb 18 additions, 4 deletionsapp/models/concerns/cache_markdown_field.rb
- spec/lib/gitlab/json_cache_spec.rb 23 additions, 7 deletionsspec/lib/gitlab/json_cache_spec.rb
- spec/models/broadcast_message_spec.rb 6 additions, 0 deletionsspec/models/broadcast_message_spec.rb
- spec/models/concerns/cache_markdown_field_spec.rb 10 additions, 4 deletionsspec/models/concerns/cache_markdown_field_spec.rb
Please register or sign in to comment