You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Through the datasette-graphql endpoint, JSON columns that are respected by json_columns in a local install of datasette are interpreted as plain strings in a vercel-published or fly-published instance.
I have the following fragment in my metadata.json (I only have one database and table):
If I run in a local install using datasette ., the graphql instance shows JSON as JSON.
If I publish using datasette-publish-vercel --install datasette-graphql, the JSON is interpreted as strings by the graphql endpoint. Same thing happens when I publish to fly.io.
The text was updated successfully, but these errors were encountered:
mhalle
changed the title
json_columns not respected after publishing
json_columns not respected by datasette-graphql after publishing
Jan 11, 2021
Summary: Through the datasette-graphql endpoint, JSON columns that are respected by json_columns in a local install of datasette are interpreted as plain strings in a vercel-published or fly-published instance.
I have the following fragment in my metadata.json (I only have one database and table):
If I run in a local install using
datasette .
, the graphql instance shows JSON as JSON.If I publish using
datasette-publish-vercel --install datasette-graphql
, the JSON is interpreted as strings by the graphql endpoint. Same thing happens when I publish to fly.io.The text was updated successfully, but these errors were encountered: