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
So I'm thinking an elegant solution for this would be some way of over riding the versions array, similar to ResposeMigrations::setVersion(). This would provide plenty of flexibility to pull the versions in from wherever you please, just using modifying the config as an example.
We would need a way to override the current version as well RequestMigrations::setCurrentVersion('YYYY-MM-DD') so we know what the current version is depending on which subset you use. We should also add it to RequestMigrations::setMigrations($migrations, $currentVersion). (open to some input here)
Use Cases
api.example.com/v1
)Implementation
So I'm thinking an elegant solution for this would be some way of over riding the versions array, similar to
ResposeMigrations::setVersion()
. This would provide plenty of flexibility to pull the versions in from wherever you please, just using modifying the config as an example.We would need a way to override the current version as well
RequestMigrations::setCurrentVersion('YYYY-MM-DD')
so we know what the current version is depending on which subset you use. We should also add it toRequestMigrations::setMigrations($migrations, $currentVersion)
. (open to some input here)ExampleMiddleware.php
config/request-migrations.php
The text was updated successfully, but these errors were encountered: