-
Notifications
You must be signed in to change notification settings - Fork 16
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
Migration for tags rename #47
Comments
At this time, no, there is not a migration feature. There also may never be. I have thought about this issue before and decided that a migration feature would be too complex of a solution to solve the problem. The problem is that after you change a class's name, the tag's name is now changed and Wendy can no longer run those tasks. The solution that I felt was the best way to solve the problem is instead of using: Thank you for the message so I can update the docs. I have been using strings in my own apps these days anyway. I like to use a description like: "Update users profile photo" as the tag. I feel that it is more universal then I do not see a way to remove the need for tags at this time so the best way we can solve this problem is with best practices and docs. That would be a great way to fix this. Would you like to update the README and send a pull request? Feel free! |
@levibostian i understand, i just opened this because of the need to document it, if you release an app and rename a tag you would have some problems to fix that... but wendy error message at least make it easy to find the error <3 I'll try to make a PR, it will take some weeks till i get some time for that. Note: I'm kind of annoyed that the |
@Grohden I agree with everything you stated.
Thanks for creating the issue. This is a fix that needs to be done. |
Closed by #49 |
When a wendy task is created the
tag
is saved as astring
, normally you use something likeBut if you rename the class all current pending tasks break.. forcing you to
cryclear the app data. is there any way to solve that now with wendy api?Also, this should be warned in the docs.
Note: i'm using
0.2.1-alpha
The text was updated successfully, but these errors were encountered: