public IGraphQLBuilder AddSchema(string name, Action <SchemaConfiguration> configure)
        {
            if (name == null)
            {
                throw new ArgumentNullException(nameof(name));
            }

            var schema = new SchemaConfiguration(name);

            configure(schema);

            _services.AddSingleton <ISchemaProvider>(schema);

            return(this);
        }
        internal IGraphQLBuilder AddSchema(SchemaConfiguration schema)
        {
            _services.AddSingleton <ISchemaProvider>(schema);

            return(this);
        }