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

same field in params #1621

Closed
DjanFey opened this issue Aug 27, 2020 · 1 comment
Closed

same field in params #1621

DjanFey opened this issue Aug 27, 2020 · 1 comment

Comments

@DjanFey
Copy link

DjanFey commented Aug 27, 2020

🚀 Feature

thank you for providing such an awsome lib., I want to know how to get the same field in params, such as {"user":{"id":1},"order":{"id":1}}, I define the proto file like

    message User {
        int32 id = 1;
    }
    
    message Order {
        int32 id = 1;
    }

    message Req{
        User user = 1;
        Order order = 2;
    }

I want to transport the params in body like

{"user":{"id":1},"order":{"id":1}}

but i get nothing at backend server

@johanbrandhorst
Copy link
Collaborator

That looks right to me, maybe you could join our support slack channel and we could figure out what's wrong? This isn't a great forum for this sort of debugging.

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

No branches or pull requests

2 participants