Monday, 2 September 2019

Firebase ignores Exclude on super class

I have those two files, One extends the other which is a base class with it's own fields. The problem comes when i put Exclude on those fields but Firebase ignores it and still put them on the server.

@Entity
public ClassOne extends BaseClass{}

public BaseClass
{
    @Exclude
    protected field; // Still get's recorded by firebase
}

What can I do?



from Firebase ignores Exclude on super class

No comments:

Post a Comment