Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Author.id type changed to int64 #522

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stroeer/core/v1/article.proto
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@
*
* | Field name | Type | Description |
* |--------------------|--------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
* | id | string | The unique identifier (cms id) of the author. |
* | id | int64 | The unique identifier (cms id) of the author. |
* | type | [Author.Type](#enum-type) | The type of the author entity. |
* | fields | map[string, string] | The fields of the author. This is a map of key-value pairs. The keys are the field names and the values are the field values. |
* | elements | [Article.Element](article_%DB%B0_element.html)[] | The elements of the author, e.g. the author's profile picture. |
Expand All @@ -919,7 +919,7 @@
* @CodeBlockStart protobuf
*/
message Author {
string id = 1;
int64 id = 1;

Check failure on line 922 in stroeer/core/v1/article.proto

View workflow job for this annotation

GitHub Actions / breaking

Field "1" on message "Author" changed type from "string" to "int64".
Type type = 2;
map<string, string> fields = 3; // migrate from Asset[type=metadata]
repeated Article.Element elements = 4; // profile picture
Expand Down Expand Up @@ -970,7 +970,7 @@
* ## Sample Author
* ```json
* {
* "id": "100000001",
* "id": 100000001,
* "type": "AUTHOR",
* "fields": {
* "flag:hidden": "true",
Expand Down
Loading