Comments (2)
I’ve thought about this in the past and unfortunately I think it’d be a lot of work for PostGraphile to support both concurrently due to the way the schema is built currently. I think your latter option is good, but I’d expose both over the same endpoint and use a version header of some kind to indicate which to use. If you’ve the performance space to spare (I expect so?) it would actually be possible to validate the incoming query against the latest schema and if it fails pass it up the tree of older schemas, this would mean the client doesn’t need to know which version or even that there are multiple versions. Probably good to add a header or similar to warn though. And obviously metrics so you know when it’s safe to disable.
from pg-simplify-inflector.
Sounds good to me, thanks!
from pg-simplify-inflector.
Related Issues (20)
- Adding list suffix results in incorrect name HOT 4
- handling field conflict HOT 7
- Incompatible with --simple-collections (both|only) HOT 4
- Consider making primary key fetchers/updaters shorter HOT 4
- Typescript Support HOT 2
- Using pgSimpleCollections: 'only' without pgOmitListSuffix: true will throw error HOT 4
- Using alongside postgraphile-plugin-connection-filter HOT 3
- Replace pluralize with a version that only pluralizes the end word HOT 1
- Error: Cannot find module '@graphile-contrib/pg-simplify-inflector' HOT 1
- Change log very out of date HOT 2
- npm install -g for CLI use HOT 5
- Lacking Typescript declarations HOT 5
- Document `foreignSimpleFieldName` HOT 3
- Field name simplification broken after renaming with Smart Tag HOT 7
- Primary keys that are also foreign keys not simplified HOT 3
- Incompatibility/warning messages when installing at a Docker container HOT 1
- Import problems from ESM to this module HOT 10
- mutationFunctionResultFieldName: () => 'result' HOT 1
- Handle issues with plural === singular HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg-simplify-inflector.