Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Incorrect statement in server.js #17

Description

@mdemblani

Based on the Proto file, the List service states that it returns a list of books, which when received by the client would be of the format:
{ books: [] }. But the statement in server.js block directly sends the books array to the callback. Hence the client will not receive anything.

It should rather be sent as an object as follows: {books} or {books: books}

The link of the page where the issue is: https://codelabs.developers.google.com/codelabs/cloud-grpc/index.html#4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions