code: def build_nested_resource(value, includes, entries, errors)
        if @depth < @configuration.fetch(:max_include_resolution_depth, 20)
          resource = Support.resource_for_link(value, includes)
          return resolve_include(resource, includes, entries, errors) unless resource.nil?
        end
  
        build_link(value)
      end
docs: Maximum include depth is 10 in the API, but we raise it to 20 (by default),
   in case one of the included items has a reference in an upper level,
   so we can keep the include chain for that object as well
   Any included object after the maximum include resolution depth will be just a Link