Skip to content

basvandriel/strawberry-apollo-apq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

strawberry-apollo-apq

Supporting Apollo's automatic persisted queries in Strawberry GraphQL ๐Ÿ“

codecov

Notes

  • Don't use this for production yet, unless you know what you're doing.
  • For persisting queries, a simple TTLCache is used. Will be changed later.
  • Only flask views are supported for now.
  • When merged into core, this repository becomes read-only.

Benchmarks

All benchmarks are made using the pytest-benchmark package.

min (ms) max (ms) average (ms)
no persisting, default 1.9934 99.0644 2.5739
persistiging, not cached 3.8509 211.6294 5.0793
persisting, cached 1.8495 21.6539 2.1182

License

The code in this library is licensed under MIT license. See the LICENSE.md file for more information.

About

Support for Apollo's Automatic Persisted Queries in Strawberry GraphQL ๐Ÿ“

Topics

Resources

License

Stars

Watchers

Forks

Languages