Husqvik / GraphQlClientGenerator

GraphQL C# client generator
MIT License
213 stars 49 forks source link

Allow generation from a schema.json file #67

Closed Kurren123 closed 4 years ago

Kurren123 commented 4 years ago

I'm writing a GraphQL api which is not intended to be a web service, so there will be no service url. I can however generate a schema.json file, will it be possible to pass this file in as an argument rather than the service url?

Thanks

Husqvik commented 4 years ago

Pushed also nuget tool update: https://www.nuget.org/packages/GraphQlClientGenerator.Tool/0.7.2.1

Husqvik commented 4 years ago

--serviceUrl is optional now. Schema file can be specified using --schemaFileName Path/To/GqlSchemaFile.json