Skip to content

Conversation

@mikelehen
Copy link
Contributor

  • Create C++ api::DocumentChange class.
  • Make FIRDocumentChange a wrapper over DocumentChange.
  • Moved documentChangesForSnapshot helper from FIRDocumentChange to
    where it's used in QuerySnapshot. I think this is cleaner.

* Create C++ api::DocumentChange class.
* Make FIRDocumentChange a wrapper over DocumentChange.
* Moved documentChangesForSnapshot helper from FIRDocumentChange to
  where it's used in QuerySnapshot. I think this is cleaner.
Copy link
Contributor

@var-const var-const left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All nitpicks mostly falling into two groups:

  • variable names in C++ should be snake_case;
  • usage of std::move.

@var-const var-const assigned mikelehen and unassigned var-const Apr 1, 2019
@mikelehen mikelehen force-pushed the mikelehen/port-documentchange branch from c930f46 to 8480ce3 Compare April 2, 2019 17:59
@mikelehen mikelehen force-pushed the mikelehen/port-documentchange branch from 8480ce3 to 5afd44e Compare April 2, 2019 18:12
Copy link
Contributor Author

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the thorough review! Fixed (almost) everything, but left a couple questions.

@mikelehen mikelehen assigned var-const and unassigned mikelehen Apr 2, 2019
@var-const var-const assigned mikelehen and unassigned var-const Apr 2, 2019
@mikelehen mikelehen merged commit c65ecf5 into master Apr 3, 2019
@mikelehen mikelehen deleted the mikelehen/port-documentchange branch April 3, 2019 18:52
Corrob pushed a commit that referenced this pull request Apr 25, 2019
* Create C++ api::DocumentChange class.
* Make FIRDocumentChange a wrapper over api::DocumentChange.
* Moved documentChangesForSnapshot helper from FIRDocumentChange to
  where it's used in QuerySnapshot. I think this is cleaner.
@firebase firebase locked and limited conversation to collaborators Oct 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants