Skip to content

Commit ab652c4

Browse files
Erolshishirmk
authored andcommitted
Remove unused code
1 parent e683bbf commit ab652c4

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

lib/fast_jsonapi/fieldset.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/fast_jsonapi/object_serializer.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
require 'fast_jsonapi/relationship'
88
require 'fast_jsonapi/link'
99
require 'fast_jsonapi/serialization_core'
10-
require 'fast_jsonapi/fieldset'
1110

1211
module FastJsonapi
1312
module ObjectSerializer
@@ -120,7 +119,6 @@ def inherited(subclass)
120119
subclass.race_condition_ttl = race_condition_ttl
121120
subclass.data_links = data_links
122121
subclass.cached = cached
123-
subclass.fieldset = fieldset.dup if fieldset.present?
124122
end
125123

126124
def reflected_record_type

lib/fast_jsonapi/serialization_core.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ class << self
2121
:cache_length,
2222
:race_condition_ttl,
2323
:cached,
24-
:data_links,
25-
:fieldset
24+
:data_links
2625
end
2726
end
2827

0 commit comments

Comments
 (0)