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

Unflatten types #29

Open
joshcarp opened this issue Apr 23, 2020 · 2 comments
Open

Unflatten types #29

joshcarp opened this issue Apr 23, 2020 · 2 comments
Labels

Comments

@joshcarp
Copy link
Contributor

See: https://github.com/anz-bank/protoc-gen-sysl/blob/master/tests/messageinmessage/simple2.proto

Messages defined within messages will be squished

@joshcarp
Copy link
Contributor Author

message this {
   enum whatever{
        this = 1;
        that = 2;
    }
}

gets flattened to this_whatever in sysl

@joshcarp
Copy link
Contributor Author

!type this:
    !enum whatever:
        this: 1;
        that: 2;

instead of the current:

!enum this_whatever:
    this: 1;
    that: 2;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants