-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
break infinite mutual recursion between Group::load_metadata and Rest…
…Client::post_group_metadata_from_rest
- Loading branch information
1 parent
6e15ec9
commit e871744
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,10 +146,15 @@ Status group_create_serialize( | |
* @param serialize_type format to serialize into Cap'n Proto or JSON | ||
* @param serialized_buffer buffer to store serialized bytes in | ||
* serialize the array URI | ||
* @param load flag signaling whether or not metadata should be fetched from | ||
* storage | ||
* @return Status | ||
*/ | ||
Status group_metadata_serialize( | ||
Group* group, SerializationType serialize_type, Buffer* serialized_buffer); | ||
Group* group, | ||
SerializationType serialize_type, | ||
Buffer* serialized_buffer, | ||
bool load); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
robertbindar
Author
Contributor
|
||
|
||
} // namespace serialization | ||
} // namespace sm | ||
|
The
Group
object has themetadata_loaded_
bool. Can we use this and handle it internally?