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

There's a bug if I define a field with name of "other" #85

Open
riclava opened this issue Aug 4, 2019 · 4 comments
Open

There's a bug if I define a field with name of "other" #85

riclava opened this issue Aug 4, 2019 · 4 comments
Assignees

Comments

@riclava
Copy link

riclava commented Aug 4, 2019

As the title says, if I do so, the result code will contains code like below

  String (dynamic param) {
    switch (param.toString()) {
      default:
        return "Other";
    }
  }

this will override String def and cause an error when compile ;-(

@g123k
Copy link

g123k commented Sep 1, 2019

For example animals_details_family_tree_item_mother will generate a field called animals_details_family_tree_item_m

@noordawod
Copy link
Contributor

I guess the quickest would be to rename it. I do agree it's a bug though.

@noordawod
Copy link
Contributor

animals_details_family_tree_item_mom ?

@g123k
Copy link

g123k commented Sep 2, 2019

Yes I can find a temporary fix.
However this was working on a previous release of the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants