Skip to content
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

using --force does not rewrite but appends model translations #210

Open
verybigelephants opened this issue Mar 20, 2020 · 0 comments
Open
Labels

Comments

@verybigelephants
Copy link

verybigelephants commented Mar 20, 2020

When using --force option, the generator re-writes previously generated model files with one exception and that is translation. instead of rewriting an existing array key 'admin.modelname' it appends a new 'admin.modelname' at the bottom of the file

i konw this is an easily solvable issue and you can simply erase the previously defined sub-array manually in a file, but it would definitely be nicer if the --force, that is semantically supposed to re-write everything from scratch, did it for me instead without having to manually navigate to files and rewriting them

@palypster palypster added the bug label Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants