evo-company / hiku

Library to write servers for GraphQL-like query languages
http://hiku.readthedocs.io
BSD 3-Clause "New" or "Revised" License
60 stars 13 forks source link

Extensions #125

Closed kindermax closed 1 year ago

kindermax commented 1 year ago

Adds extension support to Hiku.

Повний приклад використання ендпоінту:


endpoint = GraphqlEndpoint(
  engine,
  graph,
  introspection=False,
  batching=True,
  extensions=[QueryParserCache(100)],
)

endpoint.dispatch({'query': query})
# or
endpoint.dispatch([{'query': query}])
kindermax commented 1 year ago
image