Sha256: c94868d6545c051ce1d4c5e2dfa8fed99af37487f1012fe67918232a24552df9
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 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: false, resolver: Resolvers::EnterpriseAccount do argument :domain, String, required: true end field( :identity_provider, Types::IdentityProvider, null: true, resolve: ->(_obj, args, _context) { Osso::Models::SamlProvider.find(args[:id]) }, ) do argument :id, ID, required: true end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
osso-0.0.3.5 | lib/osso/graphql/query.rb |
osso-0.0.3.4 | lib/osso/graphql/query.rb |