4 ms·
Oh! I misunderstood your point about versioning. I was thinking versioning of content but you're talking about the API. That is a harder situation, I think my
by jobsdone 4y ago
Oh! I misunderstood your point about versioning. I was thinking versioning of content but you're talking about the API.
That is a harder situation, I think my approach here would be to route requests to the api version on a separate new instance, `v1.example.com/api`, `v2.example.com/api` for example. Any way I can think of handling this scenario in the application layer gets messy right away, but maybe there is a good way I haven't thought about yet. I'll keep this in mind in case as a future feature we could build in or make turn into a plugin perhaps.
- cies 4y agoHaving a schema generated, one could see if it changed between releases and increase a version number based on that.