Skip to content

Instantly share code, notes, and snippets.

View archilkarchava's full-sized avatar

Archil Karchava archilkarchava

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.34509804844856262</real>
import { ApolloServer, GraphQLOptions } from "apollo-server-express";
import { Request, Response } from "express";
import queryComplexity, {
fieldConfigEstimator,
simpleEstimator
} from "graphql-query-complexity";
// hack to use graphql-query-complexity analysis
export class ApolloServerWithQueryComplexity extends ApolloServer {
public async createGraphQLServerOptions(