1
Fork 0
mirror of https://github.com/Airsequel/AirGQL.git synced 2025-07-05 18:19:32 +02:00
airgql/source/Server
prescientmoon 58e3f0bb7b Add insertonly endpoint to airgql server
I removed the `readonlyGqlPostHandler` thingy from airgql,
as it seemed to be a slightly worse version of the existing more
general gql post handler. The one difference is that it was trying
to use the readonly db directory, although the token already protected
the queries to reading only, so this didn't matter. Moreover, the
writeonly endpoint was also using the readonly directory, which seemed
like a mistake (I removed that handler as well in favour of passing the
`writeonly` access mode to the existing handler).

I also fixed a TODO, making it so the readonly airsequel-cli handler
takes the edition into account.
2024-12-07 16:47:58 +01:00
..
Server.hs Add insertonly endpoint to airgql server 2024-12-07 16:47:58 +01:00