-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it support preconditions #69
Comments
@vshalgarg, thanks for raising this. haven't tried if works out of the box. Will give it a try and fix if not working. |
Hi @alexandru-slobodcicov , I don't know if this is working and even couldn't try it as I am unable to find the syntax.. can you provide me some syntax so that I can try it on my own. I tried following from https://docs.liquibase.com/concepts/advanced/preconditions.html "preConditions": [ But it gives me IllegalArgumentException. Will appreciate if you could help asap as I am blocked on it |
Hi @alexandru-slobodcicov , |
Hi @vshalgarg, will be required to extend AbstractPrecondition in order to be possible to use. |
Hi @alexandru-slobodcicov , |
Hi @alexandru-slobodcicov , |
Hi @vshalgarg please see the associated PR. Please let me know if this fits your needs. You can build it locally from main branch or wait for the next release most probably 4.2.2.1 Additionally if you are a Java developer you can write a custom Java precondition as well as custom change and do your precondition checks. Related to duplicate documents exceptions in Mongo, you can add unique indexes on some fields (id) and you will get exceptions during inserts. |
Hi @alexandru-slobodcicov , |
@alexandru-slobodcicov |
Does this extension supports preconditions. If yes, please provide some examples. I believe it will be good and easy if there is a page describing all the tags available.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: