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

entproto: fix service.List pageToken for custom fields (UUID/string) #600

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 3, 2024

  1. entproto: fix service.List pageToken for custom fields (UUID/string)

    The current List service template generates faulty
    code if a custom GoType field is used (currently only UUID and string
    supported).
    
    While not tested on a large set of inputs, using a call to the
    `field_to_ent` template hopefully leads to a more sane behaviour,
    as it is also used for Get() and Update() function calls.
    kdevo committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    f5b7f31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    758d579 View commit details
    Browse the repository at this point in the history
  3. entproto: workaround for List template to preserve backward-compat

    ...when using a custom GoType.
    This should keep the backward-compatibility by first parsing the UUID
    represented as string (like before) and then calling `field_to_ent`.
    kdevo committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    61c53a1 View commit details
    Browse the repository at this point in the history