3 ms·
Could you explain what you preferred in Postgraphile?
by cies 6y ago
Could you explain what you preferred in Postgraphile?
- atom_arranger 6y agoI've tried building the exact same app using Hasura and Postgraphile after having built another app in Postgraphile: - Postgraphile has better Relay support, stuff like returning added edges, returning deleted nodes, good global ID support. - Hasura didn't support something like adding a currentUser field when using the Relay support. The pagination in the non-Relay mode was very basic and didn't comply with the Relay pagination spec. - Comparatively even when not using Postgraphile's Relay support it still supports both the Relay pagination API and the easy "nodes" pagination API. - With Hasura I initially liked the UI for management but found it tedious as I continued working. - I came across some bugs with Hasura's pagination API's, which was the final thing that made me decide to switch to Postgraphile.