simonw / datasette-graphql

Datasette plugin providing an automatic GraphQL API for your SQLite databases
https://datasette-graphql-demo.datasette.io/
Apache License 2.0
101 stars 6 forks source link

Ensure this correctly handles BLOB columns #13

Closed simonw closed 4 years ago

simonw commented 4 years ago

It's likely these will break because of JSON strings.

simonw commented 4 years ago

Graphene has a Base64 scalar type that will probably help here: https://docs.graphene-python.org/en/latest/types/scalars/#graphene-base64

simonw commented 4 years ago

Looks like that was only added last month and hasn't made it into a non-beta release yet (it's in v3.0.0b4): https://github.com/graphql-python/graphene/pull/1221