Sha256: 4beb8e6aa51ac8f5e88fb98230da35310b090c808172bf6c422bfde8eb526ce2
Contents?: true
Size: 739 Bytes
Versions: 4
Compression:
Stored size: 739 Bytes
Contents
# frozen_string_literal: true module Osso module GraphQL module Types class QueryType < ::GraphQL::Schema::Object field :enterprise_accounts, null: true, resolver: Resolvers::EnterpriseAccounts field :oauth_clients, null: true, resolver: Resolvers::OAuthClients field :enterprise_account, null: true, resolver: Resolvers::EnterpriseAccount do argument :domain, String, required: true end field( :identity_provider, Types::IdentityProvider, null: true, resolve: ->(_obj, args, _context) { Osso::Models::IdentityProvider.find(args[:id]) }, ) do argument :id, ID, required: true end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
osso-0.0.3.9 | lib/osso/graphql/query.rb |
osso-0.0.3.8 | lib/osso/graphql/query.rb |
osso-0.0.3.7 | lib/osso/graphql/query.rb |
osso-0.0.3.6 | lib/osso/graphql/query.rb |