gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From renato2099 <...@git.apache.org>
Subject [GitHub] gora pull request: GORA_447 NPE Fix
Date Wed, 27 Apr 2016 23:01:12 GMT
Github user renato2099 commented on the pull request:

    it's pretty cool stuff @djkevincr ! But I think we need to go over it. My main concern
is the addition of the clearField method to the Persistent class. Two main thoughts on it:
    - We should try to keep the main Persistent API as stable as possible because we have
some dependencies on it e.g. goraCompiler, and therefore all the avro generated beans we create
from it. 
    - This method is proposed for clearing the values of MemStore. So it would seem that only
MemStore needs it. So I am not sure we need to add it to main API. Why don't we use a method
like getPersistent? What do you guys think @lewismc @djkevincr ?
    The other thing that I think we need to change is how the deleteByQuery is working now.
I mean it's great that is not breaking anymore :D but I think we need and IfElse stmt after
the if(allFields) because if we have deleted the specific key, then why do we need to iterate
through the fields? 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message