cmelchior / realmfieldnameshelper

Realm extension library used to create more type-safe queries.
Apache License 2.0
173 stars 21 forks source link

Some Field names are missing leading Character #6

Closed degill closed 8 years ago

degill commented 8 years ago

At the moment I dont know any further information than this:

For some of my fields, the created static field is missing a leading Character.

Example:

  public static final String ID_QUEST_PACK = "idQuestPack";
  public static final String TEMID_ITEM = "itemIdItem";
  public static final String TEMID_PRE_CONDITION = "itemIdPreCondition";
  public static final String TEMMODE = "itemMode";

It seems that this is always happening for fields beginning with "item"

cmelchior commented 8 years ago

Can your post your Realm model class as well?

degill commented 8 years ago

Minimal example:

public class Test extends RealmObject {
    private int itemQuantityDelta;
}

This behaviour is not happening if the field is just called item

cmelchior commented 8 years ago

Thanks. I will take a look

cmelchior commented 8 years ago

Fixed by #7