public static void Main(string[] args) { GraphQLServer server = new GraphQLServer(); server.AddController(new CountryController()); server.AddController(new PopulationController()); server.Start(); }
private static ClientContext DefaultClientContextFn(GraphQLServer x, HttpListenerRequest y) => new ClientContext() { Authenticated = false, UserToken = "" };