Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
graphql / lib / graphql / introspection / dynamic_fields.rb
Size: Mime:
# frozen_string_literal: true
module GraphQL
  module Introspection
    class DynamicFields < Introspection::BaseObject
      field :__typename, String, "The name of this type", null: false, extras: [:irep_node]
      def __typename(irep_node:)
        irep_node.owner_type.name
      end
    end
  end
end