8000 nicer JSON for standard wrappers · Issue #100 · google/rejoiner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.
This repository was archived by the owner on Au 10000 g 16, 2024. It is now read-only.
nicer JSON for standard wrappers #100
Open
@sheepdreamofandroids

Description

@sheepdreamofandroids

Wrappers.proto defines types for nullable scalars. When those are mapped to JSON you get a nullable object with a value field. That's a bit awkward and unnecessary.
It would be nicer if the wrapper would be mapped to a simple nullable JSON field.
This could be special cased or maybe there is some way of marking wrappers. Initially just the well-known ones would be OK, I guess.

I could make a PR if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0