Skip to content

protoLibrary breaks escape sequence in string literal #3431

@bjoernmayer

Description

@bjoernmayer

Hey there,

I have a proto definition with this option:

option php_namespace = "Trivago\\Message\\Booking";

This is my wire config:

wire {
    protoLibrary = true

    proto {
        permitPackageCycles(true)
    }
}

When the gradle plugin puts this definition into the jar file, the string escape sequence is altered and becomes invalid:

option php_namespace = "Trivago\Message\Booking";

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