graphqlite icon indicating copy to clipboard operation
graphqlite copied to clipboard

Preserve type already added

Open fezfez opened this issue 2 years ago • 4 comments
trafficstars

Hello,

With this PR this code will preserve MyCustomInputType

        $factory = new SchemaFactory();
        $factory->setSchemaConfig(SchemaConfig::create([
            'types' => [
                MyCustomInputType::getInstance()
            ]
        ]));

       $schema = $factory->createSchema();

fezfez avatar Jan 12 '23 15:01 fezfez