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);
        }